Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'ux500-dts-arm-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson into next/dt

Ux500 DTS changes for the v4.20 kernel cycle.
Assorted housekeeping DTS patches.

* tag 'ux500-dts-arm-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson:
ARM: dts: ux500: Mark PRCMU as syscon compatible
arm: dts: ste: Update coresight bindings for hardware port
ARM: dts: ste: Fix SPI controller node names
ARM: dts: ux500: Get rid of DTC warnings
ARM: dts: ux500: Fix LCDA clock line muxing
dt-bindings: arm: scu: Correct example SCU unit addresses
ARM: dts: ux500: Correct SCU unit address

Signed-off-by: Olof Johansson <olof@lixom.net>

+56 -44
+1 -1
Documentation/devicetree/bindings/arm/scu.txt
··· 22 22 23 23 Example: 24 24 25 - scu@a04100000 { 25 + scu@a0410000 { 26 26 compatible = "arm,cortex-a9-scu"; 27 27 reg = <0xa0410000 0x100>; 28 28 };
+1 -1
Documentation/devicetree/bindings/arm/ux500/boards.txt
··· 60 60 <0xa0410100 0x100>; 61 61 }; 62 62 63 - scu@a04100000 { 63 + scu@a0410000 { 64 64 compatible = "arm,cortex-a9-scu"; 65 65 reg = <0xa0410000 0x100>; 66 66 };
+43 -37
arch/arm/boot/dts/ste-dbx5x0.dtsi
··· 15 15 #include <dt-bindings/arm/ux500_pm_domains.h> 16 16 #include <dt-bindings/gpio/gpio.h> 17 17 #include <dt-bindings/clock/ste-ab8500.h> 18 - #include "skeleton.dtsi" 19 18 20 19 / { 20 + #address-cells = <1>; 21 + #size-cells = <1>; 22 + 23 + chosen { 24 + }; 25 + 21 26 cpus { 22 27 #address-cells = <1>; 23 28 #size-cells = <0>; ··· 72 67 clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>; 73 68 clock-names = "apb_pclk", "atclk"; 74 69 cpu = <&CPU0>; 75 - port { 76 - ptm0_out_port: endpoint { 77 - remote-endpoint = <&funnel_in_port0>; 70 + out-ports { 71 + port { 72 + ptm0_out_port: endpoint { 73 + remote-endpoint = <&funnel_in_port0>; 74 + }; 78 75 }; 79 76 }; 80 77 }; ··· 88 81 clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>; 89 82 clock-names = "apb_pclk", "atclk"; 90 83 cpu = <&CPU1>; 91 - port { 92 - ptm1_out_port: endpoint { 93 - remote-endpoint = <&funnel_in_port1>; 84 + out-ports { 85 + port { 86 + ptm1_out_port: endpoint { 87 + remote-endpoint = <&funnel_in_port1>; 88 + }; 94 89 }; 95 90 }; 96 91 }; ··· 103 94 104 95 clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>; 105 96 clock-names = "apb_pclk", "atclk"; 106 - ports { 107 - #address-cells = <1>; 108 - #size-cells = <0>; 109 - 110 - /* funnel output ports */ 111 - port@0 { 112 - reg = <0>; 97 + out-ports { 98 + port { 113 99 funnel_out_port: endpoint { 114 100 remote-endpoint = 115 101 <&replicator_in_port0>; 116 102 }; 117 103 }; 104 + }; 118 105 119 - /* funnel input ports */ 120 - port@1 { 106 + in-ports { 107 + #address-cells = <1>; 108 + #size-cells = <0>; 109 + 110 + port@0 { 121 111 reg = <0>; 122 112 funnel_in_port0: endpoint { 123 - slave-mode; 124 113 remote-endpoint = <&ptm0_out_port>; 125 114 }; 126 115 }; 127 116 128 - port@2 { 117 + port@1 { 129 118 reg = <1>; 130 119 funnel_in_port1: endpoint { 131 - slave-mode; 132 120 remote-endpoint = <&ptm1_out_port>; 133 121 }; 134 122 }; ··· 137 131 clocks = <&prcmu_clk PRCMU_APEATCLK>; 138 132 clock-names = "atclk"; 139 133 140 - ports { 134 + out-ports { 141 135 #address-cells = <1>; 142 136 #size-cells = <0>; 143 137 144 - /* replicator output ports */ 145 138 port@0 { 146 139 reg = <0>; 147 140 replicator_out_port0: endpoint { ··· 153 148 remote-endpoint = <&etb_in_port>; 154 149 }; 155 150 }; 151 + }; 156 152 157 - /* replicator input port */ 158 - port@2 { 159 - reg = <0>; 153 + in-ports { 154 + port { 160 155 replicator_in_port0: endpoint { 161 - slave-mode; 162 156 remote-endpoint = <&funnel_out_port>; 163 157 }; 164 158 }; ··· 170 166 171 167 clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>; 172 168 clock-names = "apb_pclk", "atclk"; 173 - port { 174 - tpiu_in_port: endpoint { 175 - slave-mode; 176 - remote-endpoint = <&replicator_out_port0>; 169 + in-ports { 170 + port { 171 + tpiu_in_port: endpoint { 172 + remote-endpoint = <&replicator_out_port0>; 173 + }; 177 174 }; 178 175 }; 179 176 }; ··· 185 180 186 181 clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>; 187 182 clock-names = "apb_pclk", "atclk"; 188 - port { 189 - etb_in_port: endpoint { 190 - slave-mode; 191 - remote-endpoint = <&replicator_out_port1>; 183 + in-ports { 184 + port { 185 + etb_in_port: endpoint { 186 + remote-endpoint = <&replicator_out_port1>; 187 + }; 192 188 }; 193 189 }; 194 190 }; ··· 203 197 <0xa0410100 0x100>; 204 198 }; 205 199 206 - scu@a04100000 { 200 + scu@a0410000 { 207 201 compatible = "arm,cortex-a9-scu"; 208 202 reg = <0xa0410000 0x100>; 209 203 }; ··· 493 487 }; 494 488 495 489 prcmu: prcmu@80157000 { 496 - compatible = "stericsson,db8500-prcmu"; 490 + compatible = "stericsson,db8500-prcmu", "syscon"; 497 491 reg = <0x80157000 0x2000>, <0x801b0000 0x8000>, <0x801b8000 0x1000>; 498 492 reg-names = "prcmu", "prcmu-tcpm", "prcmu-tcdm"; 499 493 interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; ··· 884 878 power-domains = <&pm_domains DOMAIN_VAPE>; 885 879 }; 886 880 887 - ssp@80002000 { 881 + spi@80002000 { 888 882 compatible = "arm,pl022", "arm,primecell"; 889 883 reg = <0x80002000 0x1000>; 890 884 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; ··· 898 892 power-domains = <&pm_domains DOMAIN_VAPE>; 899 893 }; 900 894 901 - ssp@80003000 { 895 + spi@80003000 { 902 896 compatible = "arm,pl022", "arm,primecell"; 903 897 reg = <0x80003000 0x1000>; 904 898 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
+6 -2
arch/arm/boot/dts/ste-href-family-pinctrl.dtsi
··· 607 607 608 608 mcde { 609 609 lcd_default_mode: lcd_default { 610 - default_mux { 610 + default_mux1 { 611 611 /* Mux in VSI0 and all the data lines */ 612 612 function = "lcd"; 613 613 groups = 614 614 "lcdvsi0_a_1", /* VSI0 for LCD */ 615 615 "lcd_d0_d7_a_1", /* Data lines */ 616 616 "lcd_d8_d11_a_1", /* TV-out */ 617 - "lcdaclk_b_1", /* Clock line for TV-out */ 618 617 "lcdvsi1_a_1"; /* VSI1 for HDMI */ 618 + }; 619 + default_mux2 { 620 + function = "lcda"; 621 + groups = 622 + "lcdaclk_b_1"; /* Clock line for TV-out */ 619 623 }; 620 624 default_cfg1 { 621 625 pins =
+1
arch/arm/boot/dts/ste-href.dtsi
··· 15 15 16 16 / { 17 17 memory { 18 + device_type = "memory"; 18 19 reg = <0x00000000 0x20000000>; 19 20 }; 20 21
+1 -1
arch/arm/boot/dts/ste-hrefprev60.dtsi
··· 57 57 }; 58 58 }; 59 59 60 - ssp@80002000 { 60 + spi@80002000 { 61 61 /* 62 62 * On the first generation boards, this SSP/SPI port was connected 63 63 * to the AB8500.
+2 -1
arch/arm/boot/dts/ste-snowball.dts
··· 26 26 }; 27 27 28 28 memory { 29 + device_type = "memory"; 29 30 reg = <0x00000000 0x20000000>; 30 31 }; 31 32 ··· 377 376 pinctrl-1 = <&i2c3_sleep_mode>; 378 377 }; 379 378 380 - ssp@80002000 { 379 + spi@80002000 { 381 380 pinctrl-names = "default"; 382 381 pinctrl-0 = <&ssp0_snowball_mode>; 383 382 };
+1 -1
arch/arm/boot/dts/ste-u300.dts
··· 442 442 dma-names = "rx"; 443 443 }; 444 444 445 - spi: ssp@c0006000 { 445 + spi: spi@c0006000 { 446 446 compatible = "arm,pl022", "arm,primecell"; 447 447 reg = <0xc0006000 0x1000>; 448 448 interrupt-parent = <&vica>;