mvebu dt for 6.8 (part 1)
Fix dt for gpio and switch nodes -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQQYqXDMF3cvSLY+g9cLBhiOFHI71QUCZYMbkAAKCRALBhiOFHI7 1YdzAJ0Yu49LXFvVKvCFGiUktDFP3XFuAQCgmS3JzZuX5+/4yHl25NRDQiuhkT0= =cETW -----END PGP SIGNATURE----- gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmWEcF0ACgkQYKtH/8kJ Uid3vA/+JgL1oaXBhqi/LYCCEaJ3THhli9YZKa79POFC61I4TQUSbsHnknwRL961 dCSOO5fzylspNGQftIwS9cTAgWaFr9XRQ6O5uXPbu3Q5OGy4MWkEBLVfE6iCesRq QdF0neOmnOgPt7/izoOcsdpMKIQrwSRBjZcUYDHr5N74SwNllVBMKune39k9exwU fFH6LvBLi1viFy+SzjawmDKmelOlsTw7JunHe3GpeKX0fSq3n1giDqSbORj8Rxds /3IKa5IUM324PFdXztUOn//rDQRCPOZoKczwJcKtT7t4ITdO0QoWKiIVULQZ0bi7 pJJt1W2qos3h4KPUID2M3xRm+xoyMDIx6Kw1sjrNvvwuKmgOLrxJ/p3wTcazieQ4 vpFPpJ1PMGad2o0VfKf0b4AFAhXJnPPiMluYEiK/Lo8ma6QSALujs7n9DBOzfZ1B nro4cJkKmnELK+wHl0wv7tnkWXxbMXhZnhQgTSY9Z/NRDGhfF36ddjBJ2rvMQPcZ D6M+kcvGCP5olpbhZ4GKxQynRx5AE8u4Gzjx29g0W7q4jg89VL47SpILli+g8sXB cxjgFmcUYqyGFlawuOifcC2hQQSS9UKYa/j1EoAVZYLxjOw2x40B4tW51BOOQyx/ qKfwylJH3mA+jOi5JgGhr/2WwW1yJ9gI0FanzX1fpo8bDvVsPRs= =pYqI -----END PGP SIGNATURE----- Merge tag 'mvebu-dt-6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu into soc/dt mvebu dt for 6.8 (part 1) Fix dt for gpio and switch nodes * tag 'mvebu-dt-6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu: ARM: dts: marvell: make dts use gpio-fan matrix instead of array ARM: dts: marvell: Fix some common switch mistakes Link: https://lore.kernel.org/r/87o7ekbyv2.fsf@BL-laptop Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
commit
37782cc1c6
@ -95,7 +95,7 @@
|
||||
gpio-fan {
|
||||
compatible = "gpio-fan";
|
||||
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
|
||||
gpio-fan,speed-map = <0 0 3000 1>;
|
||||
gpio-fan,speed-map = <0 0>, <3000 1>;
|
||||
pinctrl-0 = <&fan_pins>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
@ -149,39 +149,37 @@
|
||||
};
|
||||
};
|
||||
|
||||
switch: switch@10 {
|
||||
switch: ethernet-switch@10 {
|
||||
compatible = "marvell,mv88e6085";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x10>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
ethernet-port@0 {
|
||||
reg = <0>;
|
||||
label = "lan0";
|
||||
};
|
||||
|
||||
port@1 {
|
||||
ethernet-port@1 {
|
||||
reg = <1>;
|
||||
label = "lan1";
|
||||
};
|
||||
|
||||
port@2 {
|
||||
ethernet-port@2 {
|
||||
reg = <2>;
|
||||
label = "lan2";
|
||||
};
|
||||
|
||||
port@3 {
|
||||
ethernet-port@3 {
|
||||
reg = <3>;
|
||||
label = "lan3";
|
||||
};
|
||||
|
||||
port@5 {
|
||||
ethernet-port@5 {
|
||||
reg = <5>;
|
||||
ethernet = <ð1>;
|
||||
phy-mode = "rgmii-id";
|
||||
@ -196,25 +194,25 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
switchphy0: switchphy@0 {
|
||||
switchphy0: ethernet-phy@0 {
|
||||
reg = <0>;
|
||||
interrupt-parent = <&switch>;
|
||||
interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
|
||||
};
|
||||
|
||||
switchphy1: switchphy@1 {
|
||||
switchphy1: ethernet-phy@1 {
|
||||
reg = <1>;
|
||||
interrupt-parent = <&switch>;
|
||||
interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
|
||||
};
|
||||
|
||||
switchphy2: switchphy@2 {
|
||||
switchphy2: ethernet-phy@2 {
|
||||
reg = <2>;
|
||||
interrupt-parent = <&switch>;
|
||||
interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
|
||||
};
|
||||
|
||||
switchphy3: switchphy@3 {
|
||||
switchphy3: ethernet-phy@3 {
|
||||
reg = <3>;
|
||||
interrupt-parent = <&switch>;
|
||||
interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
|
||||
|
@ -25,9 +25,9 @@
|
||||
|
||||
gpio-fan {
|
||||
gpio-fan,speed-map =
|
||||
< 0 3
|
||||
950 2
|
||||
1400 1
|
||||
1800 0>;
|
||||
< 0 3>,
|
||||
< 950 2>,
|
||||
<1400 1>,
|
||||
<1800 0>;
|
||||
};
|
||||
};
|
||||
|
@ -106,10 +106,10 @@
|
||||
|
||||
gpio-fan {
|
||||
gpio-fan,speed-map =
|
||||
< 0 3
|
||||
800 2
|
||||
1050 1
|
||||
1300 0>;
|
||||
< 0 3>,
|
||||
< 800 2>,
|
||||
<1050 1>,
|
||||
<1300 0>;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -113,14 +113,14 @@
|
||||
&gpio2 0 GPIO_ACTIVE_HIGH
|
||||
&gpio2 1 GPIO_ACTIVE_HIGH>;
|
||||
alarm-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
|
||||
gpio-fan,speed-map = < 0 0
|
||||
1000 1
|
||||
1150 2
|
||||
1350 4
|
||||
1500 3
|
||||
1650 5
|
||||
1750 6
|
||||
1900 7 >;
|
||||
gpio-fan,speed-map = < 0 0>,
|
||||
<1000 1>,
|
||||
<1150 2>,
|
||||
<1350 4>,
|
||||
<1500 3>,
|
||||
<1650 5>,
|
||||
<1750 6>,
|
||||
<1900 7>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
|
@ -77,51 +77,49 @@
|
||||
pinctrl-0 = <&mdio_pins>;
|
||||
status = "okay";
|
||||
|
||||
switch@0 {
|
||||
ethernet-switch@0 {
|
||||
compatible = "marvell,mv88e6190";
|
||||
#address-cells = <1>;
|
||||
#interrupt-cells = <2>;
|
||||
interrupt-controller;
|
||||
interrupt-parent = <&gpio1>;
|
||||
interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
|
||||
pinctrl-0 = <&switch_interrupt_pins>;
|
||||
pinctrl-names = "default";
|
||||
#size-cells = <0>;
|
||||
reg = <0>;
|
||||
|
||||
mdio {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
switch0phy1: switch0phy1@1 {
|
||||
switch0phy1: ethernet-phy@1 {
|
||||
reg = <0x1>;
|
||||
};
|
||||
|
||||
switch0phy2: switch0phy2@2 {
|
||||
switch0phy2: ethernet-phy@2 {
|
||||
reg = <0x2>;
|
||||
};
|
||||
|
||||
switch0phy3: switch0phy3@3 {
|
||||
switch0phy3: ethernet-phy@3 {
|
||||
reg = <0x3>;
|
||||
};
|
||||
|
||||
switch0phy4: switch0phy4@4 {
|
||||
switch0phy4: ethernet-phy@4 {
|
||||
reg = <0x4>;
|
||||
};
|
||||
|
||||
switch0phy5: switch0phy5@5 {
|
||||
switch0phy5: ethernet-phy@5 {
|
||||
reg = <0x5>;
|
||||
};
|
||||
|
||||
switch0phy6: switch0phy6@6 {
|
||||
switch0phy6: ethernet-phy@6 {
|
||||
reg = <0x6>;
|
||||
};
|
||||
|
||||
switch0phy7: switch0phy7@7 {
|
||||
switch0phy7: ethernet-phy@7 {
|
||||
reg = <0x7>;
|
||||
};
|
||||
|
||||
switch0phy8: switch0phy8@8 {
|
||||
switch0phy8: ethernet-phy@8 {
|
||||
reg = <0x8>;
|
||||
};
|
||||
};
|
||||
@ -142,11 +140,11 @@
|
||||
};
|
||||
};
|
||||
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
ethernet-port@0 {
|
||||
ethernet = <ð0>;
|
||||
phy-mode = "rgmii";
|
||||
reg = <0>;
|
||||
@ -158,55 +156,55 @@
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
ethernet-port@1 {
|
||||
label = "lan1";
|
||||
phy-handle = <&switch0phy1>;
|
||||
reg = <1>;
|
||||
};
|
||||
|
||||
port@2 {
|
||||
ethernet-port@2 {
|
||||
label = "lan2";
|
||||
phy-handle = <&switch0phy2>;
|
||||
reg = <2>;
|
||||
};
|
||||
|
||||
port@3 {
|
||||
ethernet-port@3 {
|
||||
label = "lan3";
|
||||
phy-handle = <&switch0phy3>;
|
||||
reg = <3>;
|
||||
};
|
||||
|
||||
port@4 {
|
||||
ethernet-port@4 {
|
||||
label = "lan4";
|
||||
phy-handle = <&switch0phy4>;
|
||||
reg = <4>;
|
||||
};
|
||||
|
||||
port@5 {
|
||||
ethernet-port@5 {
|
||||
label = "lan5";
|
||||
phy-handle = <&switch0phy5>;
|
||||
reg = <5>;
|
||||
};
|
||||
|
||||
port@6 {
|
||||
ethernet-port@6 {
|
||||
label = "lan6";
|
||||
phy-handle = <&switch0phy6>;
|
||||
reg = <6>;
|
||||
};
|
||||
|
||||
port@7 {
|
||||
ethernet-port@7 {
|
||||
label = "lan7";
|
||||
phy-handle = <&switch0phy7>;
|
||||
reg = <7>;
|
||||
};
|
||||
|
||||
port@8 {
|
||||
ethernet-port@8 {
|
||||
label = "lan8";
|
||||
phy-handle = <&switch0phy8>;
|
||||
reg = <8>;
|
||||
};
|
||||
|
||||
port@9 {
|
||||
ethernet-port@9 {
|
||||
/* 88X3310P external phy */
|
||||
label = "lan9";
|
||||
phy-handle = <&phy1>;
|
||||
@ -214,7 +212,7 @@
|
||||
reg = <9>;
|
||||
};
|
||||
|
||||
port@a {
|
||||
ethernet-port@a {
|
||||
/* 88X3310P external phy */
|
||||
label = "lan10";
|
||||
phy-handle = <&phy2>;
|
||||
|
@ -7,66 +7,66 @@
|
||||
};
|
||||
|
||||
&mdio {
|
||||
switch0: switch0@4 {
|
||||
switch0: ethernet-switch@4 {
|
||||
compatible = "marvell,mv88e6190";
|
||||
reg = <4>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&cf_gtr_switch_reset_pins>;
|
||||
reset-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
|
||||
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@1 {
|
||||
ethernet-port@1 {
|
||||
reg = <1>;
|
||||
label = "lan8";
|
||||
phy-handle = <&switch0phy0>;
|
||||
};
|
||||
|
||||
port@2 {
|
||||
ethernet-port@2 {
|
||||
reg = <2>;
|
||||
label = "lan7";
|
||||
phy-handle = <&switch0phy1>;
|
||||
};
|
||||
|
||||
port@3 {
|
||||
ethernet-port@3 {
|
||||
reg = <3>;
|
||||
label = "lan6";
|
||||
phy-handle = <&switch0phy2>;
|
||||
};
|
||||
|
||||
port@4 {
|
||||
ethernet-port@4 {
|
||||
reg = <4>;
|
||||
label = "lan5";
|
||||
phy-handle = <&switch0phy3>;
|
||||
};
|
||||
|
||||
port@5 {
|
||||
ethernet-port@5 {
|
||||
reg = <5>;
|
||||
label = "lan4";
|
||||
phy-handle = <&switch0phy4>;
|
||||
};
|
||||
|
||||
port@6 {
|
||||
ethernet-port@6 {
|
||||
reg = <6>;
|
||||
label = "lan3";
|
||||
phy-handle = <&switch0phy5>;
|
||||
};
|
||||
|
||||
port@7 {
|
||||
ethernet-port@7 {
|
||||
reg = <7>;
|
||||
label = "lan2";
|
||||
phy-handle = <&switch0phy6>;
|
||||
};
|
||||
|
||||
port@8 {
|
||||
ethernet-port@8 {
|
||||
reg = <8>;
|
||||
label = "lan1";
|
||||
phy-handle = <&switch0phy7>;
|
||||
};
|
||||
|
||||
port@10 {
|
||||
ethernet-port@10 {
|
||||
reg = <10>;
|
||||
phy-mode = "2500base-x";
|
||||
|
||||
@ -83,35 +83,35 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
switch0phy0: switch0phy0@1 {
|
||||
switch0phy0: ethernet-phy@1 {
|
||||
reg = <0x1>;
|
||||
};
|
||||
|
||||
switch0phy1: switch0phy1@2 {
|
||||
switch0phy1: ethernet-phy@2 {
|
||||
reg = <0x2>;
|
||||
};
|
||||
|
||||
switch0phy2: switch0phy2@3 {
|
||||
switch0phy2: ethernet-phy@3 {
|
||||
reg = <0x3>;
|
||||
};
|
||||
|
||||
switch0phy3: switch0phy3@4 {
|
||||
switch0phy3: ethernet-phy@4 {
|
||||
reg = <0x4>;
|
||||
};
|
||||
|
||||
switch0phy4: switch0phy4@5 {
|
||||
switch0phy4: ethernet-phy@5 {
|
||||
reg = <0x5>;
|
||||
};
|
||||
|
||||
switch0phy5: switch0phy5@6 {
|
||||
switch0phy5: ethernet-phy@6 {
|
||||
reg = <0x6>;
|
||||
};
|
||||
|
||||
switch0phy6: switch0phy6@7 {
|
||||
switch0phy6: ethernet-phy@7 {
|
||||
reg = <0x7>;
|
||||
};
|
||||
|
||||
switch0phy7: switch0phy7@8 {
|
||||
switch0phy7: ethernet-phy@8 {
|
||||
reg = <0x8>;
|
||||
};
|
||||
};
|
||||
|
@ -11,42 +11,42 @@
|
||||
};
|
||||
|
||||
&mdio {
|
||||
switch0: switch0@4 {
|
||||
switch0: ethernet-switch@4 {
|
||||
compatible = "marvell,mv88e6085";
|
||||
reg = <4>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&cf_gtr_switch_reset_pins>;
|
||||
reset-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
|
||||
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@1 {
|
||||
ethernet-port@1 {
|
||||
reg = <1>;
|
||||
label = "lan2";
|
||||
phy-handle = <&switch0phy0>;
|
||||
};
|
||||
|
||||
port@2 {
|
||||
ethernet-port@2 {
|
||||
reg = <2>;
|
||||
label = "lan1";
|
||||
phy-handle = <&switch0phy1>;
|
||||
};
|
||||
|
||||
port@3 {
|
||||
ethernet-port@3 {
|
||||
reg = <3>;
|
||||
label = "lan4";
|
||||
phy-handle = <&switch0phy2>;
|
||||
};
|
||||
|
||||
port@4 {
|
||||
ethernet-port@4 {
|
||||
reg = <4>;
|
||||
label = "lan3";
|
||||
phy-handle = <&switch0phy3>;
|
||||
};
|
||||
|
||||
port@5 {
|
||||
ethernet-port@5 {
|
||||
reg = <5>;
|
||||
phy-mode = "2500base-x";
|
||||
ethernet = <ð1>;
|
||||
@ -63,19 +63,19 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
switch0phy0: switch0phy0@11 {
|
||||
switch0phy0: ethernet-phy@11 {
|
||||
reg = <0x11>;
|
||||
};
|
||||
|
||||
switch0phy1: switch0phy1@12 {
|
||||
switch0phy1: ethernet-phy@12 {
|
||||
reg = <0x12>;
|
||||
};
|
||||
|
||||
switch0phy2: switch0phy2@13 {
|
||||
switch0phy2: ethernet-phy@13 {
|
||||
reg = <0x13>;
|
||||
};
|
||||
|
||||
switch0phy3: switch0phy3@14 {
|
||||
switch0phy3: ethernet-phy@14 {
|
||||
reg = <0x14>;
|
||||
};
|
||||
};
|
||||
|
@ -158,42 +158,40 @@
|
||||
&mdio {
|
||||
status = "okay";
|
||||
|
||||
switch@0 {
|
||||
ethernet-switch@0 {
|
||||
compatible = "marvell,mv88e6085";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0>;
|
||||
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
ethernet-port@0 {
|
||||
reg = <0>;
|
||||
label = "lan4";
|
||||
};
|
||||
|
||||
port@1 {
|
||||
ethernet-port@1 {
|
||||
reg = <1>;
|
||||
label = "lan3";
|
||||
};
|
||||
|
||||
port@2 {
|
||||
ethernet-port@2 {
|
||||
reg = <2>;
|
||||
label = "lan2";
|
||||
};
|
||||
|
||||
port@3 {
|
||||
ethernet-port@3 {
|
||||
reg = <3>;
|
||||
label = "lan1";
|
||||
};
|
||||
|
||||
port@4 {
|
||||
ethernet-port@4 {
|
||||
reg = <4>;
|
||||
label = "wan";
|
||||
};
|
||||
|
||||
port@5 {
|
||||
ethernet-port@5 {
|
||||
reg = <5>;
|
||||
phy-mode = "sgmii";
|
||||
ethernet = <ð2>;
|
||||
|
@ -131,14 +131,14 @@
|
||||
gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>,
|
||||
<&gpio1 17 GPIO_ACTIVE_HIGH>,
|
||||
<&gpio1 16 GPIO_ACTIVE_HIGH>;
|
||||
gpio-fan,speed-map = < 0 0
|
||||
1500 1
|
||||
2500 2
|
||||
3000 3
|
||||
3400 4
|
||||
3700 5
|
||||
3900 6
|
||||
4000 7>;
|
||||
gpio-fan,speed-map = < 0 0>,
|
||||
<1500 1>,
|
||||
<2500 2>,
|
||||
<3000 3>,
|
||||
<3400 4>,
|
||||
<3700 5>,
|
||||
<3900 6>,
|
||||
<4000 7>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
|
@ -435,12 +435,10 @@
|
||||
};
|
||||
|
||||
/* Switch MV88E6176 at address 0x10 */
|
||||
switch@10 {
|
||||
ethernet-switch@10 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&swint_pins>;
|
||||
compatible = "marvell,mv88e6085";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
dsa,member = <0 0>;
|
||||
reg = <0x10>;
|
||||
@ -448,36 +446,36 @@
|
||||
interrupt-parent = <&gpio1>;
|
||||
interrupts = <13 IRQ_TYPE_LEVEL_LOW>;
|
||||
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
ports@0 {
|
||||
ethernet-port@0 {
|
||||
reg = <0>;
|
||||
label = "lan0";
|
||||
};
|
||||
|
||||
ports@1 {
|
||||
ethernet-port@1 {
|
||||
reg = <1>;
|
||||
label = "lan1";
|
||||
};
|
||||
|
||||
ports@2 {
|
||||
ethernet-port@2 {
|
||||
reg = <2>;
|
||||
label = "lan2";
|
||||
};
|
||||
|
||||
ports@3 {
|
||||
ethernet-port@3 {
|
||||
reg = <3>;
|
||||
label = "lan3";
|
||||
};
|
||||
|
||||
ports@4 {
|
||||
ethernet-port@4 {
|
||||
reg = <4>;
|
||||
label = "lan4";
|
||||
};
|
||||
|
||||
ports@5 {
|
||||
ethernet-port@5 {
|
||||
reg = <5>;
|
||||
ethernet = <ð1>;
|
||||
phy-mode = "rgmii-id";
|
||||
@ -488,7 +486,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
ports@6 {
|
||||
ethernet-port@6 {
|
||||
reg = <6>;
|
||||
ethernet = <ð0>;
|
||||
phy-mode = "rgmii-id";
|
||||
|
@ -92,44 +92,42 @@
|
||||
&mdio {
|
||||
status = "okay";
|
||||
|
||||
switch@4 {
|
||||
ethernet-switch@4 {
|
||||
compatible = "marvell,mv88e6085";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <4>;
|
||||
pinctrl-0 = <&clearfog_dsa0_clk_pins &clearfog_dsa0_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
ethernet-port@0 {
|
||||
reg = <0>;
|
||||
label = "lan5";
|
||||
};
|
||||
|
||||
port@1 {
|
||||
ethernet-port@1 {
|
||||
reg = <1>;
|
||||
label = "lan4";
|
||||
};
|
||||
|
||||
port@2 {
|
||||
ethernet-port@2 {
|
||||
reg = <2>;
|
||||
label = "lan3";
|
||||
};
|
||||
|
||||
port@3 {
|
||||
ethernet-port@3 {
|
||||
reg = <3>;
|
||||
label = "lan2";
|
||||
};
|
||||
|
||||
port@4 {
|
||||
ethernet-port@4 {
|
||||
reg = <4>;
|
||||
label = "lan1";
|
||||
};
|
||||
|
||||
port@5 {
|
||||
ethernet-port@5 {
|
||||
reg = <5>;
|
||||
ethernet = <ð1>;
|
||||
phy-mode = "1000base-x";
|
||||
@ -140,7 +138,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
port@6 {
|
||||
ethernet-port@6 {
|
||||
/* 88E1512 external phy */
|
||||
reg = <6>;
|
||||
label = "lan6";
|
||||
|
@ -237,8 +237,8 @@
|
||||
gpio-fan {
|
||||
compatible = "gpio-fan";
|
||||
gpios = <&expander1 3 GPIO_ACTIVE_HIGH>;
|
||||
gpio-fan,speed-map = < 0 0
|
||||
3000 1>;
|
||||
gpio-fan,speed-map = < 0 0>,
|
||||
<3000 1>;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -265,42 +265,40 @@
|
||||
&mdio {
|
||||
status = "okay";
|
||||
|
||||
switch@0 {
|
||||
ethernet-switch@0 {
|
||||
compatible = "marvell,mv88e6085";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0>;
|
||||
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
ethernet-port@0 {
|
||||
reg = <0>;
|
||||
label = "lan4";
|
||||
};
|
||||
|
||||
port@1 {
|
||||
ethernet-port@1 {
|
||||
reg = <1>;
|
||||
label = "lan3";
|
||||
};
|
||||
|
||||
port@2 {
|
||||
ethernet-port@2 {
|
||||
reg = <2>;
|
||||
label = "lan2";
|
||||
};
|
||||
|
||||
port@3 {
|
||||
ethernet-port@3 {
|
||||
reg = <3>;
|
||||
label = "lan1";
|
||||
};
|
||||
|
||||
port@4 {
|
||||
ethernet-port@4 {
|
||||
reg = <4>;
|
||||
label = "internet";
|
||||
};
|
||||
|
||||
port@5 {
|
||||
ethernet-port@5 {
|
||||
reg = <5>;
|
||||
phy-mode = "rgmii-id";
|
||||
ethernet = <ð0>;
|
||||
|
@ -38,9 +38,9 @@
|
||||
pinctrl-names = "default";
|
||||
gpios = <&gpio1 14 GPIO_ACTIVE_HIGH
|
||||
&gpio1 13 GPIO_ACTIVE_HIGH>;
|
||||
gpio-fan,speed-map = <0 0
|
||||
3000 1
|
||||
6000 2>;
|
||||
gpio-fan,speed-map = <0 0>,
|
||||
<3000 1>,
|
||||
<6000 2>;
|
||||
};
|
||||
|
||||
gpio_poweroff {
|
||||
|
@ -118,10 +118,11 @@
|
||||
gpios = <&gpio0 17 GPIO_ACTIVE_LOW
|
||||
&gpio0 16 GPIO_ACTIVE_LOW>;
|
||||
|
||||
gpio-fan,speed-map = <0 3
|
||||
1500 2
|
||||
3250 1
|
||||
5000 0>;
|
||||
gpio-fan,speed-map =
|
||||
< 0 3>,
|
||||
<1500 2>,
|
||||
<3250 1>,
|
||||
<5000 0>;
|
||||
|
||||
alarm-gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
@ -69,10 +69,11 @@
|
||||
gpios = <&gpio1 16 GPIO_ACTIVE_LOW
|
||||
&gpio1 15 GPIO_ACTIVE_LOW>;
|
||||
|
||||
gpio-fan,speed-map = <0 3
|
||||
1500 2
|
||||
3250 1
|
||||
5000 0>;
|
||||
gpio-fan,speed-map =
|
||||
< 0 3>,
|
||||
<1500 2>,
|
||||
<3250 1>,
|
||||
<5000 0>;
|
||||
|
||||
alarm-gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
@ -172,10 +172,11 @@
|
||||
pinctrl-names = "default";
|
||||
gpios = <&gpio0 19 GPIO_ACTIVE_LOW
|
||||
&gpio0 18 GPIO_ACTIVE_LOW>;
|
||||
gpio-fan,speed-map = <0 3
|
||||
1500 2
|
||||
3250 1
|
||||
5000 0>;
|
||||
gpio-fan,speed-map =
|
||||
<0 3>,
|
||||
<1500 2>,
|
||||
<3250 1>,
|
||||
<5000 0>;
|
||||
alarm-gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
|
@ -29,15 +29,15 @@
|
||||
&gpio1 1 GPIO_ACTIVE_LOW
|
||||
&gpio0 23 GPIO_ACTIVE_LOW>;
|
||||
gpio-fan,speed-map =
|
||||
< 0 0
|
||||
1500 15
|
||||
1700 14
|
||||
1800 13
|
||||
2100 12
|
||||
3100 11
|
||||
3300 10
|
||||
4300 9
|
||||
5500 8>;
|
||||
< 0 0>,
|
||||
<1500 15>,
|
||||
<1700 14>,
|
||||
<1800 13>,
|
||||
<2100 12>,
|
||||
<3100 11>,
|
||||
<3300 10>,
|
||||
<4300 9>,
|
||||
<5500 8>;
|
||||
alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
|
@ -30,15 +30,15 @@
|
||||
&gpio1 1 GPIO_ACTIVE_LOW
|
||||
&gpio0 23 GPIO_ACTIVE_LOW>;
|
||||
gpio-fan,speed-map =
|
||||
< 0 0
|
||||
3000 15
|
||||
3180 14
|
||||
4140 13
|
||||
4570 12
|
||||
6760 11
|
||||
7140 10
|
||||
7980 9
|
||||
9200 8>;
|
||||
< 0 0>,
|
||||
<3000 15>,
|
||||
<3180 14>,
|
||||
<4140 13>,
|
||||
<4570 12>,
|
||||
<6760 11>,
|
||||
<7140 10>,
|
||||
<7980 9>,
|
||||
<9200 8>;
|
||||
alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
|
@ -286,14 +286,15 @@
|
||||
gpios = <&gpio1 0 GPIO_ACTIVE_HIGH
|
||||
&gpio1 1 GPIO_ACTIVE_HIGH
|
||||
&gpio1 2 GPIO_ACTIVE_HIGH>;
|
||||
gpio-fan,speed-map = < 0 0
|
||||
2200 1
|
||||
2500 2
|
||||
3000 4
|
||||
3300 3
|
||||
3700 5
|
||||
3800 6
|
||||
4200 7 >;
|
||||
gpio-fan,speed-map =
|
||||
< 0 0>,
|
||||
<2200 1>,
|
||||
<2500 2>,
|
||||
<3000 4>,
|
||||
<3300 3>,
|
||||
<3700 5>,
|
||||
<3800 6>,
|
||||
<4200 7>;
|
||||
};
|
||||
|
||||
gpio-fan-150-15-18 {
|
||||
@ -306,14 +307,15 @@
|
||||
&gpio0 16 GPIO_ACTIVE_HIGH
|
||||
&gpio0 17 GPIO_ACTIVE_HIGH>;
|
||||
alarm-gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
|
||||
gpio-fan,speed-map = < 0 0
|
||||
2200 1
|
||||
2500 2
|
||||
3000 4
|
||||
3300 3
|
||||
3700 5
|
||||
3800 6
|
||||
4200 7 >;
|
||||
gpio-fan,speed-map =
|
||||
< 0 0>,
|
||||
<2200 1>,
|
||||
<2500 2>,
|
||||
<3000 4>,
|
||||
<3300 3>,
|
||||
<3700 5>,
|
||||
<3800 6>,
|
||||
<4200 7>;
|
||||
};
|
||||
|
||||
gpio-fan-100-32-35 {
|
||||
@ -326,14 +328,15 @@
|
||||
&gpio1 1 GPIO_ACTIVE_HIGH
|
||||
&gpio1 2 GPIO_ACTIVE_HIGH>;
|
||||
alarm-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
|
||||
gpio-fan,speed-map = < 0 0
|
||||
2500 1
|
||||
3100 2
|
||||
3800 3
|
||||
4600 4
|
||||
4800 5
|
||||
4900 6
|
||||
5000 7 >;
|
||||
gpio-fan,speed-map =
|
||||
< 0 0>,
|
||||
<2500 1>,
|
||||
<3100 2>,
|
||||
<3800 3>,
|
||||
<4600 4>,
|
||||
<4800 5>,
|
||||
<4900 6>,
|
||||
<5000 7>;
|
||||
};
|
||||
|
||||
gpio-fan-100-15-18 {
|
||||
@ -346,14 +349,15 @@
|
||||
&gpio0 16 GPIO_ACTIVE_HIGH
|
||||
&gpio0 17 GPIO_ACTIVE_HIGH>;
|
||||
alarm-gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
|
||||
gpio-fan,speed-map = < 0 0
|
||||
2500 1
|
||||
3100 2
|
||||
3800 3
|
||||
4600 4
|
||||
4800 5
|
||||
4900 6
|
||||
5000 7 >;
|
||||
gpio-fan,speed-map =
|
||||
< 0 0>,
|
||||
<2500 1>,
|
||||
<3100 2>,
|
||||
<3800 3>,
|
||||
<4600 4>,
|
||||
<4800 5>,
|
||||
<4900 6>,
|
||||
<5000 7>;
|
||||
};
|
||||
|
||||
gpio-fan-100-15-35-1 {
|
||||
@ -366,14 +370,15 @@
|
||||
&gpio0 16 GPIO_ACTIVE_HIGH
|
||||
&gpio0 17 GPIO_ACTIVE_HIGH>;
|
||||
alarm-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
|
||||
gpio-fan,speed-map = < 0 0
|
||||
2500 1
|
||||
3100 2
|
||||
3800 3
|
||||
4600 4
|
||||
4800 5
|
||||
4900 6
|
||||
5000 7 >;
|
||||
gpio-fan,speed-map =
|
||||
< 0 0>,
|
||||
<2500 1>,
|
||||
<3100 2>,
|
||||
<3800 3>,
|
||||
<4600 4>,
|
||||
<4800 5>,
|
||||
<4900 6>,
|
||||
<5000 7>;
|
||||
};
|
||||
|
||||
gpio-fan-100-15-35-3 {
|
||||
@ -388,14 +393,15 @@
|
||||
alarm-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH
|
||||
&gpio1 12 GPIO_ACTIVE_HIGH
|
||||
&gpio1 13 GPIO_ACTIVE_HIGH>;
|
||||
gpio-fan,speed-map = < 0 0
|
||||
2500 1
|
||||
3100 2
|
||||
3800 3
|
||||
4600 4
|
||||
4800 5
|
||||
4900 6
|
||||
5000 7 >;
|
||||
gpio-fan,speed-map =
|
||||
< 0 0>,
|
||||
<2500 1>,
|
||||
<3100 2>,
|
||||
<3800 3>,
|
||||
<4600 4>,
|
||||
<4800 5>,
|
||||
<4900 6>,
|
||||
<5000 7>;
|
||||
};
|
||||
|
||||
gpio-leds-alarm-12 {
|
||||
|
@ -50,10 +50,10 @@
|
||||
pinctrl-names = "default";
|
||||
|
||||
gpio-fan,speed-map =
|
||||
<0 3
|
||||
1500 2
|
||||
3250 1
|
||||
5000 0>;
|
||||
< 0 3>,
|
||||
<1500 2>,
|
||||
<3250 1>,
|
||||
<5000 0>;
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user