소스 검색

ARM: sunxi: dt: Move uart0 to sun4i-a10.dtsi

The UART0 is only available on the Allwinner A10 SoCs, and not on the
A13, so move the uart0 node to sun4i-a10.dtsi.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Emilio López <emilio@elopez.com.ar>
Tested-by: Emilio López <emilio@elopez.com.ar>
Maxime Ripard 12 년 전
부모
커밋
89b3c99fd9
2개의 변경된 파일10개의 추가작업 그리고 10개의 파일을 삭제
  1. 10 0
      arch/arm/boot/dts/sun4i-a10.dtsi
  2. 0 10
      arch/arm/boot/dts/sunxi.dtsi

+ 10 - 0
arch/arm/boot/dts/sun4i-a10.dtsi

@@ -47,5 +47,15 @@
 				allwinner,pull = <0>;
 			};
 		};
+
+		uart0: serial@01c28000 {
+			compatible = "snps,dw-apb-uart";
+			reg = <0x01c28000 0x400>;
+			interrupts = <1>;
+			reg-shift = <2>;
+			reg-io-width = <4>;
+			clocks = <&osc>;
+			status = "disabled";
+		};
 	};
 };

+ 0 - 10
arch/arm/boot/dts/sunxi.dtsi

@@ -136,16 +136,6 @@
 			#interrupt-cells = <1>;
 		};
 
-		uart0: serial@01c28000 {
-			compatible = "snps,dw-apb-uart";
-			reg = <0x01c28000 0x400>;
-			interrupts = <1>;
-			reg-shift = <2>;
-			reg-io-width = <4>;
-			clocks = <&osc>;
-			status = "disabled";
-		};
-
 		uart1: serial@01c28400 {
 			compatible = "snps,dw-apb-uart";
 			reg = <0x01c28400 0x400>;