aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-03-28 11:17:49 -0400
committerArnd Bergmann <arnd@arndb.de>2018-03-28 11:17:49 -0400
commit3ac3a2f9b22e519bce4bdac688dcb00e3c1556da (patch)
tree53ce8c357bb17927f7e81f2dc76b1b449d7843cf
parentfd553821a91ab3109e4fcb0ad902c737f90a3d12 (diff)
parentaba054a1cd45d87ce473fea6cabbf4b2dc677569 (diff)
Merge tag 'uniphier-dt-v4.17-2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier into next/dt
Pull "UniPhier ARM SoC DT updates for v4.17 (2nd)" from Masahiro Yamada: - add syscon property to sound nodes - add more ethernet pin groups - add ethernet support for PXs3 SoC * tag 'uniphier-dt-v4.17-2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier: arm64: dts: uniphier: add ethernet node for PXs3 ARM: dts: uniphier: add pinctrl groups of ethernet for second instance ARM: dts: uniphier: add syscon property for UniPhier sound system arm64: dts: uniphier: add syscon property for UniPhier sound system
-rw-r--r--arch/arm/boot/dts/uniphier-pinctrl.dtsi10
-rw-r--r--arch/arm/boot/dts/uniphier-pxs2.dtsi3
-rw-r--r--arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi3
-rw-r--r--arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi3
-rw-r--r--arch/arm64/boot/dts/socionext/uniphier-pxs3-ref.dts22
-rw-r--r--arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi36
6 files changed, 74 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/uniphier-pinctrl.dtsi b/arch/arm/boot/dts/uniphier-pinctrl.dtsi
index 9847af85b542..51f0e69f49fd 100644
--- a/arch/arm/boot/dts/uniphier-pinctrl.dtsi
+++ b/arch/arm/boot/dts/uniphier-pinctrl.dtsi
@@ -71,6 +71,16 @@
71 function = "ether_rmii"; 71 function = "ether_rmii";
72 }; 72 };
73 73
74 pinctrl_ether1_rgmii: ether1-rgmii {
75 groups = "ether1_rgmii";
76 function = "ether1_rgmii";
77 };
78
79 pinctrl_ether1_rmii: ether1-rmii {
80 groups = "ether1_rmii";
81 function = "ether1_rmii";
82 };
83
74 pinctrl_i2c0: i2c0 { 84 pinctrl_i2c0: i2c0 {
75 groups = "i2c0"; 85 groups = "i2c0";
76 function = "i2c0"; 86 function = "i2c0";
diff --git a/arch/arm/boot/dts/uniphier-pxs2.dtsi b/arch/arm/boot/dts/uniphier-pxs2.dtsi
index 595045441c9c..debcbd15c24b 100644
--- a/arch/arm/boot/dts/uniphier-pxs2.dtsi
+++ b/arch/arm/boot/dts/uniphier-pxs2.dtsi
@@ -242,6 +242,7 @@
242 reset-names = "aio"; 242 reset-names = "aio";
243 resets = <&sys_rst 40>; 243 resets = <&sys_rst 40>;
244 #sound-dai-cells = <1>; 244 #sound-dai-cells = <1>;
245 socionext,syscon = <&soc_glue>;
245 246
246 i2s_port0: port@0 { 247 i2s_port0: port@0 {
247 i2s_hdmi: endpoint { 248 i2s_hdmi: endpoint {
@@ -418,7 +419,7 @@
418 }; 419 };
419 }; 420 };
420 421
421 soc-glue@5f800000 { 422 soc_glue: soc-glue@5f800000 {
422 compatible = "socionext,uniphier-pxs2-soc-glue", 423 compatible = "socionext,uniphier-pxs2-soc-glue",
423 "simple-mfd", "syscon"; 424 "simple-mfd", "syscon";
424 reg = <0x5f800000 0x2000>; 425 reg = <0x5f800000 0x2000>;
diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi
index efa95573b2aa..e62bda1cf2d9 100644
--- a/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi
+++ b/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi
@@ -197,6 +197,7 @@
197 reset-names = "aio"; 197 reset-names = "aio";
198 resets = <&sys_rst 40>; 198 resets = <&sys_rst 40>;
199 #sound-dai-cells = <1>; 199 #sound-dai-cells = <1>;
200 socionext,syscon = <&soc_glue>;
200 201
201 i2s_port0: port@0 { 202 i2s_port0: port@0 {
202 i2s_hdmi: endpoint { 203 i2s_hdmi: endpoint {
@@ -479,7 +480,7 @@
479 }; 480 };
480 }; 481 };
481 482
482 soc-glue@5f800000 { 483 soc_glue: soc-glue@5f800000 {
483 compatible = "socionext,uniphier-ld11-soc-glue", 484 compatible = "socionext,uniphier-ld11-soc-glue",
484 "simple-mfd", "syscon"; 485 "simple-mfd", "syscon";
485 reg = <0x5f800000 0x2000>; 486 reg = <0x5f800000 0x2000>;
diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
index 19c935688a77..9efe20d07589 100644
--- a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
+++ b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
@@ -297,6 +297,7 @@
297 reset-names = "aio"; 297 reset-names = "aio";
298 resets = <&sys_rst 40>; 298 resets = <&sys_rst 40>;
299 #sound-dai-cells = <1>; 299 #sound-dai-cells = <1>;
300 socionext,syscon = <&soc_glue>;
300 301
301 i2s_port0: port@0 { 302 i2s_port0: port@0 {
302 i2s_hdmi: endpoint { 303 i2s_hdmi: endpoint {
@@ -525,7 +526,7 @@
525 cdns,phy-dll-delay-sdclk-hsmmc = <21>; 526 cdns,phy-dll-delay-sdclk-hsmmc = <21>;
526 }; 527 };
527 528
528 soc-glue@5f800000 { 529 soc_glue: soc-glue@5f800000 {
529 compatible = "socionext,uniphier-ld20-soc-glue", 530 compatible = "socionext,uniphier-ld20-soc-glue",
530 "simple-mfd", "syscon"; 531 "simple-mfd", "syscon";
531 reg = <0x5f800000 0x2000>; 532 reg = <0x5f800000 0x2000>;
diff --git a/arch/arm64/boot/dts/socionext/uniphier-pxs3-ref.dts b/arch/arm64/boot/dts/socionext/uniphier-pxs3-ref.dts
index e62d068776d5..c1bb607bd211 100644
--- a/arch/arm64/boot/dts/socionext/uniphier-pxs3-ref.dts
+++ b/arch/arm64/boot/dts/socionext/uniphier-pxs3-ref.dts
@@ -75,6 +75,28 @@
75 status = "okay"; 75 status = "okay";
76}; 76};
77 77
78&eth0 {
79 status = "okay";
80 phy-handle = <&ethphy0>;
81};
82
83&mdio0 {
84 ethphy0: ethphy@0 {
85 reg = <0>;
86 };
87};
88
89&eth1 {
90 status = "okay";
91 phy-handle = <&ethphy1>;
92};
93
94&mdio1 {
95 ethphy1: ethphy@0 {
96 reg = <0>;
97 };
98};
99
78&nand { 100&nand {
79 status = "okay"; 101 status = "okay";
80}; 102};
diff --git a/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi b/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi
index b537a3c0071f..7c8f710d9bfa 100644
--- a/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi
+++ b/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi
@@ -405,6 +405,42 @@
405 }; 405 };
406 }; 406 };
407 407
408 eth0: ethernet@65000000 {
409 compatible = "socionext,uniphier-pxs3-ave4";
410 status = "disabled";
411 reg = <0x65000000 0x8500>;
412 interrupts = <0 66 4>;
413 pinctrl-names = "default";
414 pinctrl-0 = <&pinctrl_ether_rgmii>;
415 clocks = <&sys_clk 6>;
416 resets = <&sys_rst 6>;
417 phy-mode = "rgmii";
418 local-mac-address = [00 00 00 00 00 00];
419
420 mdio0: mdio {
421 #address-cells = <1>;
422 #size-cells = <0>;
423 };
424 };
425
426 eth1: ethernet@65200000 {
427 compatible = "socionext,uniphier-pxs3-ave4";
428 status = "disabled";
429 reg = <0x65200000 0x8500>;
430 interrupts = <0 67 4>;
431 pinctrl-names = "default";
432 pinctrl-0 = <&pinctrl_ether1_rgmii>;
433 clocks = <&sys_clk 7>;
434 resets = <&sys_rst 7>;
435 phy-mode = "rgmii";
436 local-mac-address = [00 00 00 00 00 00];
437
438 mdio1: mdio {
439 #address-cells = <1>;
440 #size-cells = <0>;
441 };
442 };
443
408 nand: nand@68000000 { 444 nand: nand@68000000 {
409 compatible = "socionext,uniphier-denali-nand-v5b"; 445 compatible = "socionext,uniphier-denali-nand-v5b";
410 status = "disabled"; 446 status = "disabled";