Skip to content

Commit 8333fe4

Browse files
wensmmind
authored andcommitted
arm64: dts: rockchip: Disable removed devices from rk3399-nanopi-r4s
While the design of the NanoPi R4S is based on the common NanoPi 4 family, it is trimmed down a lot. Disable all the peripherals on the SoC that are not used, and delete all the external components that are not present. Signed-off-by: Chen-Yu Tsai <wens@kernel.org> [feels like the cleaner option, than to move those peripherals into a new rk3399-nanopi-allothers.dtsi, as the r4s variants are not as many ] Link: https://patch.msgid.link/20260505172903.33271-1-wens@kernel.org Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent ab1375e commit 8333fe4

1 file changed

Lines changed: 68 additions & 0 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dtsi

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,41 @@
6666
status = "disabled";
6767
};
6868

69+
/* No USB type-C PD power manager */
70+
/delete-node/ &fusb0;
71+
72+
&i2c1 {
73+
status = "disabled";
74+
};
75+
6976
&i2c4 {
7077
status = "disabled";
7178
};
7279

80+
&i2c7 {
81+
status = "disabled";
82+
};
83+
84+
&i2s2 {
85+
status = "disabled";
86+
};
87+
88+
&hdmi {
89+
status = "disabled";
90+
};
91+
92+
&hdmi_sound {
93+
status = "disabled";
94+
};
95+
7396
&pcie0 {
7497
num-lanes = <1>;
7598
vpcie3v3-supply = <&vcc3v3_sys>;
7699
};
77100

78101
&pinctrl {
102+
/delete-node/ fusb30x;
103+
79104
gpio-leds {
80105
/delete-node/ status-led-pin;
81106

@@ -101,14 +126,21 @@
101126
};
102127
};
103128

129+
&pwm0 {
130+
status = "disabled";
131+
};
132+
104133
&sdhci {
105134
status = "disabled";
106135
};
107136

108137
&sdio0 {
138+
/delete-property/ mmc-pwrseq;
109139
status = "disabled";
110140
};
111141

142+
/delete-node/ &sdio_pwrseq;
143+
112144
&u2phy0_host {
113145
phy-supply = <&vdd_5v>;
114146
};
@@ -119,12 +151,48 @@
119151

120152
&uart0 {
121153
status = "disabled";
154+
155+
/delete-node/ bluetooth;
122156
};
123157

158+
&u2phy1_host {
159+
status = "disabled";
160+
};
161+
162+
&usb_host1_ehci {
163+
status = "disabled";
164+
};
165+
166+
&usb_host1_ohci {
167+
status = "disabled";
168+
};
124169
&usbdrd_dwc3_0 {
125170
dr_mode = "host";
126171
};
127172

173+
/delete-node/ &vbus_typec;
174+
128175
&vcc3v3_sys {
129176
vin-supply = <&vcc5v0_sys>;
130177
};
178+
179+
&vopb {
180+
status = "disabled";
181+
};
182+
183+
&vopb_mmu {
184+
status = "disabled";
185+
};
186+
187+
&vopl {
188+
status = "disabled";
189+
};
190+
191+
&vopl_mmu {
192+
status = "disabled";
193+
};
194+
195+
/delete-node/ &bt_host_wake_l;
196+
/delete-node/ &bt_reg_on_h;
197+
/delete-node/ &bt_wake_l;
198+
/delete-node/ &wifi_reg_on_h;

0 commit comments

Comments
 (0)