Skip to content

Commit

Permalink
ARM: dts: gemini: Fix switch node names on Vitesse switches
Browse files Browse the repository at this point in the history
The formally correct node names have "ethernet-*" prefix on
switch, ports and port, fix it up.

Signed-off-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
linusw committed Feb 21, 2024
1 parent c4a83b1 commit 5ee1818
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions arch/arm/boot/dts/gemini/gemini-sl93512r.dts
Original file line number Diff line number Diff line change
Expand Up @@ -93,35 +93,35 @@
cs-gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>;
num-chipselects = <1>;

switch@0 {
ethernet-switch@0 {
compatible = "vitesse,vsc7385";
reg = <0>;
/* Specified for 2.5 MHz or below */
spi-max-frequency = <2500000>;
gpio-controller;
#gpio-cells = <2>;

ports {
ethernet-ports {
#address-cells = <1>;
#size-cells = <0>;

port@0 {
ethernet-port@0 {
reg = <0>;
label = "lan1";
};
port@1 {
ethernet-port@1 {
reg = <1>;
label = "lan2";
};
port@2 {
ethernet-port@2 {
reg = <2>;
label = "lan3";
};
port@3 {
ethernet-port@3 {
reg = <3>;
label = "lan4";
};
vsc: port@6 {
vsc: ethernet-port@6 {
reg = <6>;
label = "cpu";
ethernet = <&gmac1>;
Expand Down
14 changes: 7 additions & 7 deletions arch/arm/boot/dts/gemini/gemini-sq201.dts
Original file line number Diff line number Diff line change
Expand Up @@ -78,35 +78,35 @@
cs-gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>;
num-chipselects = <1>;

switch@0 {
ethernet-switch@0 {
compatible = "vitesse,vsc7395";
reg = <0>;
/* Specified for 2.5 MHz or below */
spi-max-frequency = <2500000>;
gpio-controller;
#gpio-cells = <2>;

ports {
ethernet-ports {
#address-cells = <1>;
#size-cells = <0>;

port@0 {
ethernet-port@0 {
reg = <0>;
label = "lan1";
};
port@1 {
ethernet-port@1 {
reg = <1>;
label = "lan2";
};
port@2 {
ethernet-port@2 {
reg = <2>;
label = "lan3";
};
port@3 {
ethernet-port@3 {
reg = <3>;
label = "lan4";
};
vsc: port@6 {
vsc: ethernet-port@6 {
reg = <6>;
label = "cpu";
ethernet = <&gmac1>;
Expand Down

0 comments on commit 5ee1818

Please sign in to comment.