arm64: tegra: Add serial ports on Tegra186
authorThierry Reding <treding@nvidia.com>
Thu, 17 Nov 2016 15:29:32 +0000 (16:29 +0100)
committerThierry Reding <treding@nvidia.com>
Mon, 21 Nov 2016 09:43:38 +0000 (10:43 +0100)
The initial patch only added UARTA, but there's no reason we shouldn't
be adding all of them. While at it, also specify the missing clocks and
resets for UARTA.

Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra186.dtsi

index cbedef4fa9a8d7d3be2658e28a575a1a160feb47..f3d60cb6a36c496b7ba46abaa8f93cbffd77c9b1 100644 (file)
                reg = <0x0 0x03100000 0x0 0x40>;
                reg-shift = <2>;
                interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&bpmp 55>;
+               clock-names = "serial";
+               resets = <&bpmp 47>;
+               reset-names = "serial";
+               status = "disabled";
+       };
+
+       uartb: serial@3110000 {
+               compatible = "nvidia,tegra186-uart", "nvidia,tegra20-uart";
+               reg = <0x0 0x03110000 0x0 0x40>;
+               reg-shift = <2>;
+               interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&bpmp 56>;
+               clock-names = "serial";
+               resets = <&bpmp 48>;
+               reset-names = "serial";
+               status = "disabled";
+       };
+
+       uartd: serial@3130000 {
+               compatible = "nvidia,tegra186-uart", "nvidia,tegra20-uart";
+               reg = <0x0 0x03130000 0x0 0x40>;
+               reg-shift = <2>;
+               interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&bpmp 77>;
+               clock-names = "serial";
+               resets = <&bpmp 50>;
+               reset-names = "serial";
+               status = "disabled";
+       };
+
+       uarte: serial@3140000 {
+               compatible = "nvidia,tegra186-uart", "nvidia,tegra20-uart";
+               reg = <0x0 0x03140000 0x0 0x40>;
+               reg-shift = <2>;
+               interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&bpmp 194>;
+               clock-names = "serial";
+               resets = <&bpmp 132>;
+               reset-names = "serial";
+               status = "disabled";
+       };
+
+       uartf: serial@3150000 {
+               compatible = "nvidia,tegra186-uart", "nvidia,tegra20-uart";
+               reg = <0x0 0x03150000 0x0 0x40>;
+               reg-shift = <2>;
+               interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&bpmp 195>;
+               clock-names = "serial";
+               resets = <&bpmp 111>;
+               reset-names = "serial";
                status = "disabled";
        };
 
                status = "disabled";
        };
 
+       uartc: serial@c280000 {
+               compatible = "nvidia,tegra186-uart", "nvidia,tegra20-uart";
+               reg = <0x0 0x0c280000 0x0 0x40>;
+               reg-shift = <2>;
+               interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&bpmp 215>;
+               clock-names = "serial";
+               resets = <&bpmp 49>;
+               reset-names = "serial";
+               status = "disabled";
+       };
+
+       uartg: serial@c290000 {
+               compatible = "nvidia,tegra186-uart", "nvidia,tegra20-uart";
+               reg = <0x0 0x0c290000 0x0 0x40>;
+               reg-shift = <2>;
+               interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&bpmp 216>;
+               clock-names = "serial";
+               resets = <&bpmp 112>;
+               reset-names = "serial";
+               status = "disabled";
+       };
+
        sysram@30000000 {
                compatible = "nvidia,tegra186-sysram", "mmio-sram";
                reg = <0x0 0x30000000 0x0 0x50000>;