xref: /rk3399_rockchip-uboot/arch/arm/dts/rv1126-bat-evb.dts (revision 3fc8bcd2582f32e53b0eaf975ded3e0a50dead41)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2021 Fuzhou Rockchip Electronics Co., Ltd.
4 */
5
6/dts-v1/;
7#include "rv1126.dtsi"
8#include "rv1126-u-boot.dtsi"
9#include <dt-bindings/input/input.h>
10
11/ {
12	model = "Rockchip RV1126 Battery Evaluation Board";
13	compatible = "rockchip,rv1126-bat-evb", "rockchip,rv1126";
14
15	chosen {
16		stdout-path = &uart2;
17		u-boot,spl-boot-order = &emmc;
18	};
19
20	adc-keys {
21		compatible = "adc-keys";
22		io-channels = <&saradc 0>;
23		io-channel-names = "buttons";
24		keyup-threshold-microvolt = <1800000>;
25		u-boot,dm-spl;
26		status = "okay";
27
28		volumeup-key {
29			u-boot,dm-spl;
30			linux,code = <KEY_VOLUMEUP>;
31			label = "volume up";
32			press-threshold-microvolt = <0>;
33		};
34
35		menu-key {
36			u-boot,dm-spl;
37			linux,code = <KEY_MENU>;
38			label = "menu";
39			press-threshold-microvolt = <1198828>;
40		};
41	};
42};
43
44&clk_out_ethernetm1_pins {
45	status = "disabled";
46};
47
48&emmc {
49	bus-width = <8>;
50	mmc-hs200-1_8v;
51	status = "okay";
52};
53
54&gpio1 {
55	status = "disabled";
56};
57
58&gpio3 {
59	status = "disabled";
60};
61
62&gmac {
63	status = "disabled";
64};
65
66&gmac_clkin_m0 {
67	status = "disabled";
68};
69
70&gmac_clkini_m1 {
71	status = "disabled";
72};
73
74&i2c0 {
75	status = "disabled";
76};
77
78&mdio {
79	status = "disabled";
80};
81
82&mtl_rx_setup {
83	status = "disabled";
84};
85
86&mtl_tx_setup {
87	status = "disabled";
88};
89
90&nandc {
91	status = "disabled";
92};
93
94&sdmmc {
95	status = "disabled";
96};
97
98&stmmac_axi_setup {
99	status = "disabled";
100};
101
102&rgmiim1_pins {
103	status = "disabled";
104};
105
106&rng {
107	status = "disabled";
108};
109
110&uart2 {
111	status = "okay";
112};
113