]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: rockchip: Disable removed devices from rk3399-nanopi-r4s
authorChen-Yu Tsai <wens@kernel.org>
Tue, 5 May 2026 17:29:02 +0000 (01:29 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 1 Jun 2026 09:42:49 +0000 (11:42 +0200)
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>
arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dtsi

index 3a9a10f531bdb20eab64cda413aff49c93230211..4274d1b6e80aec6bff21c5568320f7bef99e1ff5 100644 (file)
        status = "disabled";
 };
 
+/* No USB type-C PD power manager */
+/delete-node/ &fusb0;
+
+&i2c1 {
+       status = "disabled";
+};
+
 &i2c4 {
        status = "disabled";
 };
 
+&i2c7 {
+       status = "disabled";
+};
+
+&i2s2 {
+       status = "disabled";
+};
+
+&hdmi {
+       status = "disabled";
+};
+
+&hdmi_sound {
+       status = "disabled";
+};
+
 &pcie0 {
        num-lanes = <1>;
        vpcie3v3-supply = <&vcc3v3_sys>;
 };
 
 &pinctrl {
+       /delete-node/ fusb30x;
+
        gpio-leds {
                /delete-node/ status-led-pin;
 
        };
 };
 
+&pwm0 {
+       status = "disabled";
+};
+
 &sdhci {
        status = "disabled";
 };
 
 &sdio0 {
+       /delete-property/ mmc-pwrseq;
        status = "disabled";
 };
 
+/delete-node/ &sdio_pwrseq;
+
 &u2phy0_host {
        phy-supply = <&vdd_5v>;
 };
 
 &uart0 {
        status = "disabled";
+
+       /delete-node/ bluetooth;
 };
 
+&u2phy1_host {
+       status = "disabled";
+};
+
+&usb_host1_ehci {
+       status = "disabled";
+};
+
+&usb_host1_ohci {
+       status = "disabled";
+};
 &usbdrd_dwc3_0 {
        dr_mode = "host";
 };
 
+/delete-node/ &vbus_typec;
+
 &vcc3v3_sys {
        vin-supply = <&vcc5v0_sys>;
 };
+
+&vopb {
+       status = "disabled";
+};
+
+&vopb_mmu {
+       status = "disabled";
+};
+
+&vopl {
+       status = "disabled";
+};
+
+&vopl_mmu {
+       status = "disabled";
+};
+
+/delete-node/ &bt_host_wake_l;
+/delete-node/ &bt_reg_on_h;
+/delete-node/ &bt_wake_l;
+/delete-node/ &wifi_reg_on_h;