Commit 3ac3a2f9 authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'uniphier-dt-v4.17-2' of...

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
parents fd553821 aba054a1
...@@ -71,6 +71,16 @@ pinctrl_ether_rmii: ether-rmii { ...@@ -71,6 +71,16 @@ pinctrl_ether_rmii: ether-rmii {
function = "ether_rmii"; function = "ether_rmii";
}; };
pinctrl_ether1_rgmii: ether1-rgmii {
groups = "ether1_rgmii";
function = "ether1_rgmii";
};
pinctrl_ether1_rmii: ether1-rmii {
groups = "ether1_rmii";
function = "ether1_rmii";
};
pinctrl_i2c0: i2c0 { pinctrl_i2c0: i2c0 {
groups = "i2c0"; groups = "i2c0";
function = "i2c0"; function = "i2c0";
......
...@@ -242,6 +242,7 @@ audio@56000000 { ...@@ -242,6 +242,7 @@ audio@56000000 {
reset-names = "aio"; reset-names = "aio";
resets = <&sys_rst 40>; resets = <&sys_rst 40>;
#sound-dai-cells = <1>; #sound-dai-cells = <1>;
socionext,syscon = <&soc_glue>;
i2s_port0: port@0 { i2s_port0: port@0 {
i2s_hdmi: endpoint { i2s_hdmi: endpoint {
...@@ -418,7 +419,7 @@ peri_rst: reset { ...@@ -418,7 +419,7 @@ peri_rst: reset {
}; };
}; };
soc-glue@5f800000 { soc_glue: soc-glue@5f800000 {
compatible = "socionext,uniphier-pxs2-soc-glue", compatible = "socionext,uniphier-pxs2-soc-glue",
"simple-mfd", "syscon"; "simple-mfd", "syscon";
reg = <0x5f800000 0x2000>; reg = <0x5f800000 0x2000>;
......
...@@ -197,6 +197,7 @@ audio@56000000 { ...@@ -197,6 +197,7 @@ audio@56000000 {
reset-names = "aio"; reset-names = "aio";
resets = <&sys_rst 40>; resets = <&sys_rst 40>;
#sound-dai-cells = <1>; #sound-dai-cells = <1>;
socionext,syscon = <&soc_glue>;
i2s_port0: port@0 { i2s_port0: port@0 {
i2s_hdmi: endpoint { i2s_hdmi: endpoint {
...@@ -479,7 +480,7 @@ mio_rst: reset { ...@@ -479,7 +480,7 @@ mio_rst: reset {
}; };
}; };
soc-glue@5f800000 { soc_glue: soc-glue@5f800000 {
compatible = "socionext,uniphier-ld11-soc-glue", compatible = "socionext,uniphier-ld11-soc-glue",
"simple-mfd", "syscon"; "simple-mfd", "syscon";
reg = <0x5f800000 0x2000>; reg = <0x5f800000 0x2000>;
......
...@@ -297,6 +297,7 @@ audio@56000000 { ...@@ -297,6 +297,7 @@ audio@56000000 {
reset-names = "aio"; reset-names = "aio";
resets = <&sys_rst 40>; resets = <&sys_rst 40>;
#sound-dai-cells = <1>; #sound-dai-cells = <1>;
socionext,syscon = <&soc_glue>;
i2s_port0: port@0 { i2s_port0: port@0 {
i2s_hdmi: endpoint { i2s_hdmi: endpoint {
...@@ -525,7 +526,7 @@ emmc: sdhc@5a000000 { ...@@ -525,7 +526,7 @@ emmc: sdhc@5a000000 {
cdns,phy-dll-delay-sdclk-hsmmc = <21>; cdns,phy-dll-delay-sdclk-hsmmc = <21>;
}; };
soc-glue@5f800000 { soc_glue: soc-glue@5f800000 {
compatible = "socionext,uniphier-ld20-soc-glue", compatible = "socionext,uniphier-ld20-soc-glue",
"simple-mfd", "syscon"; "simple-mfd", "syscon";
reg = <0x5f800000 0x2000>; reg = <0x5f800000 0x2000>;
......
...@@ -75,6 +75,28 @@ &i2c3 { ...@@ -75,6 +75,28 @@ &i2c3 {
status = "okay"; status = "okay";
}; };
&eth0 {
status = "okay";
phy-handle = <&ethphy0>;
};
&mdio0 {
ethphy0: ethphy@0 {
reg = <0>;
};
};
&eth1 {
status = "okay";
phy-handle = <&ethphy1>;
};
&mdio1 {
ethphy1: ethphy@0 {
reg = <0>;
};
};
&nand { &nand {
status = "okay"; status = "okay";
}; };
...@@ -405,6 +405,42 @@ watchdog { ...@@ -405,6 +405,42 @@ watchdog {
}; };
}; };
eth0: ethernet@65000000 {
compatible = "socionext,uniphier-pxs3-ave4";
status = "disabled";
reg = <0x65000000 0x8500>;
interrupts = <0 66 4>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ether_rgmii>;
clocks = <&sys_clk 6>;
resets = <&sys_rst 6>;
phy-mode = "rgmii";
local-mac-address = [00 00 00 00 00 00];
mdio0: mdio {
#address-cells = <1>;
#size-cells = <0>;
};
};
eth1: ethernet@65200000 {
compatible = "socionext,uniphier-pxs3-ave4";
status = "disabled";
reg = <0x65200000 0x8500>;
interrupts = <0 67 4>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ether1_rgmii>;
clocks = <&sys_clk 7>;
resets = <&sys_rst 7>;
phy-mode = "rgmii";
local-mac-address = [00 00 00 00 00 00];
mdio1: mdio {
#address-cells = <1>;
#size-cells = <0>;
};
};
nand: nand@68000000 { nand: nand@68000000 {
compatible = "socionext,uniphier-denali-nand-v5b"; compatible = "socionext,uniphier-denali-nand-v5b";
status = "disabled"; status = "disabled";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment