ARM: dts: rockchip: add soc-specific uart compatibles for rk3066/rk3188
authorHeiko Stuebner <heiko@sntech.de>
Thu, 19 Jan 2017 16:04:44 +0000 (17:04 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 19 Jan 2017 16:04:44 +0000 (17:04 +0100)
The serial IPs in Rockchip socs are based on Designware uarts and thus
bind against the snps,dw-apb-uart compatible.
On all newer socs we also carry around per-soc compatibles that allow
us to have more specific drivers in the future - if needed.

The cortex-a9 socs rk3066 and rk3188 that were added first don't have
those yet, so add them for completenes sake.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3066a.dtsi
arch/arm/boot/dts/rk3188.dtsi

index e498c36..f50481f 100644 (file)
 };
 
 &uart0 {
+       compatible = "rockchip,rk3066-uart", "snps,dw-apb-uart";
        dmas = <&dmac1_s 0>, <&dmac1_s 1>;
        dma-names = "tx", "rx";
        pinctrl-names = "default";
 };
 
 &uart1 {
+       compatible = "rockchip,rk3066-uart", "snps,dw-apb-uart";
        dmas = <&dmac1_s 2>, <&dmac1_s 3>;
        dma-names = "tx", "rx";
        pinctrl-names = "default";
 };
 
 &uart2 {
+       compatible = "rockchip,rk3066-uart", "snps,dw-apb-uart";
        dmas = <&dmac2 6>, <&dmac2 7>;
        dma-names = "tx", "rx";
        pinctrl-names = "default";
 };
 
 &uart3 {
+       compatible = "rockchip,rk3066-uart", "snps,dw-apb-uart";
        dmas = <&dmac2 8>, <&dmac2 9>;
        dma-names = "tx", "rx";
        pinctrl-names = "default";
index 869e189..cf91254 100644 (file)
 };
 
 &uart0 {
+       compatible = "rockchip,rk3188-uart", "snps,dw-apb-uart";
        pinctrl-names = "default";
        pinctrl-0 = <&uart0_xfer>;
 };
 
 &uart1 {
+       compatible = "rockchip,rk3188-uart", "snps,dw-apb-uart";
        pinctrl-names = "default";
        pinctrl-0 = <&uart1_xfer>;
 };
 
 &uart2 {
+       compatible = "rockchip,rk3188-uart", "snps,dw-apb-uart";
        pinctrl-names = "default";
        pinctrl-0 = <&uart2_xfer>;
 };
 
 &uart3 {
+       compatible = "rockchip,rk3188-uart", "snps,dw-apb-uart";
        pinctrl-names = "default";
        pinctrl-0 = <&uart3_xfer>;
 };