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

Merge tag 'renesas-arm64-dt2-for-v4.14' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/dt64

Pull "Second Round of Renesas ARM64 Based SoC DT Updates for v4.14" from Simon Horman:

* Add PFC device node to R-Car D3 (r8a77995)

This is a step towards enabling devices that use multiplexed pins
- including ethernet - on boards that use the r8a7796 SoC.

* Add USB nodes to R-Car M3-W (r8a7796)

This is a step towards enabling USB devices on boards that
use the r8a7796 SoC.

* Use newly added Gen-3 fallback compat string

This is consistent with ongoing efforts to use per-generation
fallback strings where appropriate across devices found
on R-Car SoCs. The aim of the effort being to strike a balance
between the limited information available about the compatibility
of devices found on different SoCs and the desire to ease enabling
devices on new SoCs.

This has no run-time effect due to the presence of a per-SoC
compat string.

* Cleanup whitespace and extra LVDS port label

Minor cleanups, no run-time effect.

* tag 'renesas-arm64-dt2-for-v4.14' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
arm64: dts: r8a77995: add pfc device node
arm64: dts: r8a7796: Add HSUSB device node
arm64: dts: r8a7796: Add USB-DMAC device nodes
arm64: dts: r8a7796: Add USB3.0 host device node
arm64: dts: r8a7796: add USB2.0 Host (EHCI/OHCI) device nodes
arm64: dts: r8a7796: add usb2_phy device nodes
arm64: dts: r8a7795: correct whitespace of companion property
arm64: dts: r8a7795: Use R-Car SATA Gen3 fallback compat string
arm64: dts: salvator-common: Remove extra LVDS port label

+116 -17
+6 -5
arch/arm64/boot/dts/renesas/r8a7795.dtsi
··· 1451 1451 }; 1452 1452 1453 1453 sata: sata@ee300000 { 1454 - compatible = "renesas,sata-r8a7795"; 1454 + compatible = "renesas,sata-r8a7795", 1455 + "renesas,rcar-gen3-sata"; 1455 1456 reg = <0 0xee300000 0 0x200000>; 1456 1457 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; 1457 1458 clocks = <&cpg CPG_MOD 815>; ··· 1624 1623 clocks = <&cpg CPG_MOD 703>; 1625 1624 phys = <&usb2_phy0>; 1626 1625 phy-names = "usb"; 1627 - companion= <&ohci0>; 1626 + companion = <&ohci0>; 1628 1627 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; 1629 1628 resets = <&cpg 703>; 1630 1629 status = "disabled"; ··· 1637 1636 clocks = <&cpg CPG_MOD 702>; 1638 1637 phys = <&usb2_phy1>; 1639 1638 phy-names = "usb"; 1640 - companion= <&ohci1>; 1639 + companion = <&ohci1>; 1641 1640 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; 1642 1641 resets = <&cpg 702>; 1643 1642 status = "disabled"; ··· 1650 1649 clocks = <&cpg CPG_MOD 701>; 1651 1650 phys = <&usb2_phy2>; 1652 1651 phy-names = "usb"; 1653 - companion= <&ohci2>; 1652 + companion = <&ohci2>; 1654 1653 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; 1655 1654 resets = <&cpg 701>; 1656 1655 status = "disabled"; ··· 1663 1662 clocks = <&cpg CPG_MOD 700>; 1664 1663 phys = <&usb2_phy3>; 1665 1664 phy-names = "usb"; 1666 - companion= <&ohci3>; 1665 + companion = <&ohci3>; 1667 1666 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; 1668 1667 resets = <&cpg 700>; 1669 1668 status = "disabled";
+105 -8
arch/arm64/boot/dts/renesas/r8a7796.dtsi
··· 1223 1223 dma-channels = <16>; 1224 1224 }; 1225 1225 1226 + usb_dmac0: dma-controller@e65a0000 { 1227 + compatible = "renesas,r8a7796-usb-dmac", 1228 + "renesas,usb-dmac"; 1229 + reg = <0 0xe65a0000 0 0x100>; 1230 + interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH 1231 + GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; 1232 + interrupt-names = "ch0", "ch1"; 1233 + clocks = <&cpg CPG_MOD 330>; 1234 + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; 1235 + resets = <&cpg 330>; 1236 + #dma-cells = <1>; 1237 + dma-channels = <2>; 1238 + }; 1239 + 1240 + usb_dmac1: dma-controller@e65b0000 { 1241 + compatible = "renesas,r8a7796-usb-dmac", 1242 + "renesas,usb-dmac"; 1243 + reg = <0 0xe65b0000 0 0x100>; 1244 + interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH 1245 + GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; 1246 + interrupt-names = "ch0", "ch1"; 1247 + clocks = <&cpg CPG_MOD 331>; 1248 + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; 1249 + resets = <&cpg 331>; 1250 + #dma-cells = <1>; 1251 + dma-channels = <2>; 1252 + }; 1253 + 1226 1254 hsusb: usb@e6590000 { 1227 - /* placeholder */ 1255 + compatible = "renesas,usbhs-r8a7796", 1256 + "renesas,rcar-gen3-usbhs"; 1257 + reg = <0 0xe6590000 0 0x100>; 1258 + interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; 1259 + clocks = <&cpg CPG_MOD 704>; 1260 + dmas = <&usb_dmac0 0>, <&usb_dmac0 1>, 1261 + <&usb_dmac1 0>, <&usb_dmac1 1>; 1262 + dma-names = "ch0", "ch1", "ch2", "ch3"; 1263 + renesas,buswait = <11>; 1264 + phys = <&usb2_phy0>; 1265 + phy-names = "usb"; 1266 + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; 1267 + resets = <&cpg 704>; 1268 + status = "disabled"; 1228 1269 }; 1229 1270 1230 1271 xhci0: usb@ee000000 { 1231 - /* placeholder */ 1272 + compatible = "renesas,xhci-r8a7796", 1273 + "renesas,rcar-gen3-xhci"; 1274 + reg = <0 0xee000000 0 0xc00>; 1275 + interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; 1276 + clocks = <&cpg CPG_MOD 328>; 1277 + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; 1278 + resets = <&cpg 328>; 1279 + status = "disabled"; 1232 1280 }; 1233 1281 1234 1282 ohci0: usb@ee080000 { 1235 - /* placeholder */ 1283 + compatible = "generic-ohci"; 1284 + reg = <0 0xee080000 0 0x100>; 1285 + interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; 1286 + clocks = <&cpg CPG_MOD 703>; 1287 + phys = <&usb2_phy0>; 1288 + phy-names = "usb"; 1289 + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; 1290 + resets = <&cpg 703>; 1291 + status = "disabled"; 1236 1292 }; 1237 1293 1238 1294 ehci0: usb@ee080100 { 1239 - /* placeholder */ 1295 + compatible = "generic-ehci"; 1296 + reg = <0 0xee080100 0 0x100>; 1297 + interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; 1298 + clocks = <&cpg CPG_MOD 703>; 1299 + phys = <&usb2_phy0>; 1300 + phy-names = "usb"; 1301 + companion= <&ohci0>; 1302 + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; 1303 + resets = <&cpg 703>; 1304 + status = "disabled"; 1240 1305 }; 1241 1306 1242 1307 usb2_phy0: usb-phy@ee080200 { 1243 - /* placeholder */ 1308 + compatible = "renesas,usb2-phy-r8a7796", 1309 + "renesas,rcar-gen3-usb2-phy"; 1310 + reg = <0 0xee080200 0 0x700>; 1311 + interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; 1312 + clocks = <&cpg CPG_MOD 703>; 1313 + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; 1314 + resets = <&cpg 703>; 1315 + #phy-cells = <0>; 1316 + status = "disabled"; 1244 1317 }; 1245 1318 1246 1319 ohci1: usb@ee0a0000 { 1247 - /* placeholder */ 1320 + compatible = "generic-ohci"; 1321 + reg = <0 0xee0a0000 0 0x100>; 1322 + interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>; 1323 + clocks = <&cpg CPG_MOD 702>; 1324 + phys = <&usb2_phy1>; 1325 + phy-names = "usb"; 1326 + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; 1327 + resets = <&cpg 702>; 1328 + status = "disabled"; 1248 1329 }; 1249 1330 1250 1331 ehci1: usb@ee0a0100 { 1251 - /* placeholder */ 1332 + compatible = "generic-ehci"; 1333 + reg = <0 0xee0a0100 0 0x100>; 1334 + interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>; 1335 + clocks = <&cpg CPG_MOD 702>; 1336 + phys = <&usb2_phy1>; 1337 + phy-names = "usb"; 1338 + companion= <&ohci1>; 1339 + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; 1340 + resets = <&cpg 702>; 1341 + status = "disabled"; 1252 1342 }; 1253 1343 1254 1344 usb2_phy1: usb-phy@ee0a0200 { 1255 - /* placeholder */ 1345 + compatible = "renesas,usb2-phy-r8a7796", 1346 + "renesas,rcar-gen3-usb2-phy"; 1347 + reg = <0 0xee0a0200 0 0x700>; 1348 + clocks = <&cpg CPG_MOD 702>; 1349 + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; 1350 + resets = <&cpg 702>; 1351 + #phy-cells = <0>; 1352 + status = "disabled"; 1256 1353 }; 1257 1354 1258 1355 sdhi0: sd@ee100000 {
+5
arch/arm64/boot/dts/renesas/r8a77995.dtsi
··· 122 122 reg = <0 0xe6160000 0 0x0200>; 123 123 }; 124 124 125 + pfc: pfc@e6060000 { 126 + compatible = "renesas,pfc-r8a77995"; 127 + reg = <0 0xe6060000 0 0x508>; 128 + }; 129 + 125 130 prr: chipid@fff00044 { 126 131 compatible = "renesas,prr"; 127 132 reg = <0 0xfff00044 0 4>;
-4
arch/arm64/boot/dts/renesas/salvator-common.dtsi
··· 268 268 remote-endpoint = <&adv7123_in>; 269 269 }; 270 270 }; 271 - port@3 { 272 - lvds_connector: endpoint { 273 - }; 274 - }; 275 271 }; 276 272 }; 277 273