]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: rockchip: rk3128: fix DT node names
authorJohan Jonker <jbx6244@gmail.com>
Fri, 9 Sep 2022 20:19:24 +0000 (22:19 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 19 Dec 2022 02:56:12 +0000 (10:56 +0800)
The rk3128 DT node names should be generic.
Rename them to the pattern defined in the DT bindings.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
arch/arm/dts/rk3128-evb.dts
arch/arm/dts/rk3128.dtsi

index e7d8f7c9e094b0d2255e06602795f447ef7f10ad..93291d787341c2a7ce74c63aa93a825c67596190 100644 (file)
                stdout-path = &uart2;
        };
 
+       memory@60000000 {
+               device_type = "memory";
+               reg = <0x60000000 0x40000000>;
+       };
+
        vcc5v0_otg: vcc5v0-otg-drv {
                compatible = "regulator-fixed";
                regulator-name = "vcc5v0_otg";
index b58804b644d60236d0540ac6e1407955d43195cd..48833bff9eef9f4de2ab614f8bd42e3512ef35c6 100644 (file)
@@ -8,7 +8,6 @@
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/pinctrl/rockchip.h>
 #include <dt-bindings/clock/rk3128-cru.h>
-#include "skeleton.dtsi"
 
 / {
        compatible = "rockchip,rk3128";
                mmc1 = &sdmmc;
        };
 
-       memory {
-               device_type = "memory";
-               reg = <0x60000000 0x40000000>;
-       };
-
        arm-pmu {
                compatible = "arm,cortex-a7-pmu";
                interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
                #size-cells = <0>;
                enable-method = "rockchip,rk3128-smp";
 
-               cpu0:cpu@0x000 {
+               cpu0: cpu@0 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a7";
-                       reg = <0x000>;
+                       reg = <0x0>;
                        operating-points = <
                                /* KHz    uV */
                                 816000 1000000
                        clocks = <&cru ARMCLK>;
                };
 
-               cpu1:cpu@0x001 {
+               cpu1: cpu@1 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a7";
-                       reg = <0x001>;
+                       reg = <0x1>;
                };
 
-               cpu2:cpu@0x002 {
+               cpu2: cpu@2 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a7";
-                       reg = <0x002>;
+                       reg = <0x2>;
                };
 
-               cpu3:cpu@0x003 {
+               cpu3: cpu@3 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a7";
-                       reg = <0x003>;
+                       reg = <0x3>;
                };
        };
 
                interrupt-parent = <&gic>;
                ranges;
 
-               pdma: pdma@20078000 {
+               pdma: dma-controller@20078000 {
                        compatible = "arm,pl330", "arm,primecell";
                        reg = <0x20078000 0x4000>;
                        arm,pl330-broken-no-flushp;//2
                rockchip,broadcast = <1>;
        };
 
-       watchdog: wdt@2004c000 {
+       watchdog: watchdog@2004c000 {
                compatible = "rockchip,watch dog";
                reg = <0x2004c000 0x100>;
                clock-names = "pclk_wdt";
                #reset-cells = <1>;
        };
 
-       nandc: nandc@10500000 {
+       nandc: nand-controller@10500000 {
                compatible = "rockchip,rk-nandc";
                reg = <0x10500000 0x4000>;
                interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
                assigned-clock-rates = <594000000>;
        };
 
-       uart0: serial0@20060000 {
+       uart0: serial@20060000 {
                compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart";
                reg = <0x20060000 0x100>;
                interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
                #dma-cells = <2>;
        };
 
-       uart1: serial1@20064000 {
+       uart1: serial@20064000 {
                compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart";
                reg = <0x20064000 0x100>;
                interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
                #dma-cells = <2>;
        };
 
-       uart2: serial2@20068000 {
+       uart2: serial@20068000 {
                compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart";
                reg = <0x20068000 0x100>;
                interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
                status = "disabled";
        };
 
-       pwm0: pwm0@20050000 {
+       pwm0: pwm@20050000 {
                compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm";
                reg = <0x20050000 0x10>;
                #pwm-cells = <3>;
                clock-names = "pwm";
        };
 
-       pwm1: pwm1@20050010 {
+       pwm1: pwm@20050010 {
                compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm";
                reg = <0x20050010 0x10>;
                #pwm-cells = <3>;
                clock-names = "pwm";
        };
 
-       pwm2: pwm2@20050020 {
+       pwm2: pwm@20050020 {
                compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm";
                reg = <0x20050020 0x10>;
                #pwm-cells = <3>;
                clock-names = "pwm";
        };
 
-       pwm3: pwm3@20050030 {
+       pwm3: pwm@20050030 {
                compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm";
                reg = <0x20050030 0x10>;
                #pwm-cells = <3>;
                status = "disabled";
        };
 
-       sdmmc: dwmmc@10214000 {
+       sdmmc: mmc@10214000 {
                compatible = "rockchip,rk312x-dw-mshc", "rockchip,rk3288-dw-mshc";
                reg = <0x10214000 0x4000>;
                max-frequency = <150000000>;
                status = "disabled";
        };
 
-       emmc: dwmmc@1021c000 {
+       emmc: mmc@1021c000 {
                compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc";
                reg = <0x1021c000 0x4000>;
                max-frequency = <150000000>;
                status = "disabled";
        };
 
-       i2c0: i2c0@20072000 {
+       i2c0: i2c@20072000 {
                compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c";
                reg = <20072000 0x1000>;
                interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
                pinctrl-0 = <&i2c0_xfer>;
        };
 
-       i2c1: i2c1@20056000 {
+       i2c1: i2c@20056000 {
                compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c";
                reg = <0x20056000 0x1000>;
                interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
                pinctrl-0 = <&i2c1_xfer>;
        };
 
-       i2c2: i2c2@2005a000 {
+       i2c2: i2c@2005a000 {
                compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c";
                reg = <0x2005a000 0x1000>;
                interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
                pinctrl-0 = <&i2c2_xfer>;
        };
 
-       i2c3: i2c3@2005e000 {
+       i2c3: i2c@2005e000 {
                compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c";
                reg = <0x2005e000 0x1000>;
                interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
                #size-cells = <1>;
                ranges;
 
-               gpio0: gpio0@2007c000 {
+               gpio0: gpio@2007c000 {
                        compatible = "rockchip,gpio-bank";
                        reg = <0x2007c000 0x100>;
                        interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
                        #interrupt-cells = <2>;
                };
 
-               gpio1: gpio1@20080000 {
+               gpio1: gpio@20080000 {
                        compatible = "rockchip,gpio-bank";
                        reg = <0x20080000 0x100>;
                        interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
                        #interrupt-cells = <2>;
                };
 
-               gpio2: gpio2@20084000 {
+               gpio2: gpio@20084000 {
                        compatible = "rockchip,gpio-bank";
                        reg = <0x20084000 0x100>;
                        interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
                        #interrupt-cells = <2>;
                };
 
-               gpio3: gpio2@20088000 {
+               gpio3: gpio@20088000 {
                        compatible = "rockchip,gpio-bank";
                        reg = <0x20088000 0x100>;
                        interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;