arm64: dts: txlx: adjust the position of saradc node
authorXingyu Chen <xingyu.chen@amlogic.com>
Tue, 15 May 2018 09:09:22 +0000 (17:09 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Wed, 16 May 2018 01:55:10 +0000 (18:55 -0700)
PD#165196: arm64: dts: txlx: adjust the position of saradc node

In order to compatible with the saradc driver in uboot, the node
must be placed in the /{}.

Change-Id: I135a89866249b23b89f466699ecdb8cd7f21db82
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
arch/arm64/boot/dts/amlogic/mesontxlx.dtsi

index ed0b3ed..a45a5ab 100644 (file)
                };
        };
 
+       saradc: saradc {
+               compatible = "amlogic,meson-txlx-saradc";
+               status = "okay";
+               #io-channel-cells = <1>;
+               clocks = <&xtal>, <&clkc CLKID_SARADC_GATE>;
+               clock-names = "xtal", "saradc_clk";
+               interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>;
+               reg = <0x0 0xff809000 0x0 0x38>;
+       };
+
        custom_maps: custom_maps {
                mapnum = <2>;
                map0 = <&map_0>;
                                max_frame_time = <200>;
                        };
 
-                       saradc: saradc {
-                               compatible = "amlogic,meson-txlx-saradc";
-                               status = "okay";
-                               #io-channel-cells = <1>;
-                               clocks = <&xtal>, <&clkc CLKID_SARADC_GATE>;
-                               clock-names = "xtal", "saradc_clk";
-                               interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>;
-                               reg = <0x0 0x9000 0x0 0x38>;
-                       };
 
                        uart_AO: serial@3000 {
                                compatible = "amlogic, meson-uart";