mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
ARM: dts: r9a06g032: Describe switch
Add the description of the switch that is present on the RZ/N1 SoC. This description includes ethernet-port descriptions for all the ports that are present on the switch along with their connection to the MII converter ports and to the GMAC for the CPU port. Signed-off-by: Clément Léger <clement.leger@bootlin.com> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Link: https://lore.kernel.org/r/20220624144001.95518-15-clement.leger@bootlin.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
committed by
Geert Uytterhoeven
parent
c6f6009236
commit
cda41c14ab
@@ -361,6 +361,57 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
switch: switch@44050000 {
|
||||||
|
compatible = "renesas,r9a06g032-a5psw", "renesas,rzn1-a5psw";
|
||||||
|
reg = <0x44050000 0x10000>;
|
||||||
|
clocks = <&sysctrl R9A06G032_HCLK_SWITCH>,
|
||||||
|
<&sysctrl R9A06G032_CLK_SWITCH>;
|
||||||
|
clock-names = "hclk", "clk";
|
||||||
|
power-domains = <&sysctrl>;
|
||||||
|
status = "disabled";
|
||||||
|
|
||||||
|
ethernet-ports {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
|
||||||
|
switch_port0: port@0 {
|
||||||
|
reg = <0>;
|
||||||
|
pcs-handle = <&mii_conv5>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
switch_port1: port@1 {
|
||||||
|
reg = <1>;
|
||||||
|
pcs-handle = <&mii_conv4>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
switch_port2: port@2 {
|
||||||
|
reg = <2>;
|
||||||
|
pcs-handle = <&mii_conv3>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
switch_port3: port@3 {
|
||||||
|
reg = <3>;
|
||||||
|
pcs-handle = <&mii_conv2>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
switch_port4: port@4 {
|
||||||
|
reg = <4>;
|
||||||
|
ethernet = <&gmac2>;
|
||||||
|
label = "cpu";
|
||||||
|
phy-mode = "internal";
|
||||||
|
status = "disabled";
|
||||||
|
fixed-link {
|
||||||
|
speed = <1000>;
|
||||||
|
full-duplex;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
gic: interrupt-controller@44101000 {
|
gic: interrupt-controller@44101000 {
|
||||||
compatible = "arm,gic-400", "arm,cortex-a7-gic";
|
compatible = "arm,gic-400", "arm,cortex-a7-gic";
|
||||||
interrupt-controller;
|
interrupt-controller;
|
||||||
|
Reference in New Issue
Block a user