xref: /rk3399_rockchip-uboot/arch/arm/dts/rv1106-evb2.dts (revision a6c9ff8691383a19143bc7d99d254cffe997e9a3)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2022 Rockchip Electronics Co., Ltd.
4 */
5
6/dts-v1/;
7
8#include "rv1106.dtsi"
9#include "rv1106-u-boot.dtsi"
10#include <dt-bindings/input/input.h>
11
12/ {
13	model = "Rockchip RV1106 EVB2 Board";
14	compatible = "rockchip,rv1106-evb2", "rockchip,rv1106";
15
16	chosen {
17		stdout-path = &uart2;
18		u-boot,spl-boot-order = &spi_nor, &emmc;
19	};
20
21	adc-keys {
22		compatible = "adc-keys";
23		io-channels = <&saradc 0>;
24		io-channel-names = "buttons";
25		keyup-threshold-microvolt = <893000>;
26		u-boot,dm-spl;
27		status = "okay";
28
29		volumeup-key {
30			u-boot,dm-spl;
31			linux,code = <KEY_VOLUMEUP>;
32			label = "volume up";
33			press-threshold-microvolt = <339589>;
34		};
35
36		volumedown-key {
37			u-boot,dm-spl;
38			linux,code = <KEY_VOLUMEDOWN>;
39			label = "volume down";
40			press-threshold-microvolt = <17578>;
41		};
42	};
43};
44
45&hw_decompress {
46	u-boot,dm-spl;
47	status = "okay";
48};
49
50&gmac {
51	/delete-property/ u-boot,dm-spl;
52	status = "disabled";
53};
54
55&mdio {
56	/delete-property/ u-boot,dm-spl;
57	status = "disabled";
58};
59
60&pinctrl {
61	/delete-property/ u-boot,dm-spl;
62	status = "disabled";
63};
64
65&pcfg_pull_up_drv_level_2 {
66	/delete-property/ u-boot,dm-spl;
67	status = "disabled";
68};
69
70&pcfg_pull_up {
71	/delete-property/ u-boot,dm-spl;
72	status = "disabled";
73};
74
75&gpio3 {
76	/delete-property/ u-boot,dm-spl;
77	status = "disabled";
78};
79
80&rmii_phy {
81	/delete-property/ u-boot,dm-spl;
82	status = "disabled";
83};
84
85&rng {
86	/delete-property/ u-boot,dm-spl;
87	status = "disabled";
88};
89
90&saradc {
91	u-boot,dm-spl;
92	status = "okay";
93};
94
95&sdmmc {
96	/delete-property/ u-boot,dm-spl;
97	status = "disabled";
98};
99
100&sdmmc0 {
101	/delete-property/ u-boot,dm-spl;
102};
103
104&sdmmc0_bus4 {
105	/delete-property/ u-boot,dm-spl;
106};
107
108&sdmmc0_clk {
109	/delete-property/ u-boot,dm-spl;
110};
111
112&sdmmc0_cmd {
113	/delete-property/ u-boot,dm-spl;
114};
115
116&sdmmc0_det {
117	/delete-property/ u-boot,dm-spl;
118};
119
120&spi_nand {
121	/delete-property/ u-boot,dm-spl;
122	status = "disabled";
123};
124
125&spi_nor {
126	spi-max-frequency = <125000000>;
127};
128