linux,code = <KEY_WPS_BUTTON>;
};
};
-
- reg_power_usb3: regulator {
- compatible = "regulator-fixed";
- regulator-name = "power_usb3";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- regulator-boot-on;
- };
};
&spi0 {
};
};
-&xhci {
- vbus-supply = <®_power_usb3>;
-};
-
&pcie {
status = "okay";
};
nvmem-cell-names = "mac-address";
};
+®_vbus {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ regulator-boot-on;
+};
+
&switch0 {
ports {
port@0 {
};
};
- reg_usb_vbus: regulator-usb {
- compatible = "regulator-fixed";
- regulator-name = "usb_vbus";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- };
-
- reg_3p3v: regulator-3p3v {
- compatible = "regulator-fixed";
- regulator-name = "fixed-3.3V";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- };
-
gpio_export {
compatible = "gpio-export";
status = "okay";
};
-&xhci {
- vusb33-supply = <®_3p3v>;
- vbus-supply = <®_usb_vbus>;
-};
-
&spi0 {
status = "okay";
nvmem-cell-names = "mac-address";
};
+®_vbus {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+};
+
+®_vusb33 {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+};
+
&switch0 {
ports {
port@0 {
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
};
};
-
- reg_usb_vbus: regulator-usb {
- compatible = "regulator-fixed";
- regulator-name = "usb_vbus";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
- };
-
- reg_3p3v: regulator-3p3v {
- compatible = "regulator-fixed";
- regulator-name = "fixed-3.3V";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
- };
-};
-
-&xhci {
- vusb33-supply = <®_3p3v>;
- vbus-supply = <®_usb_vbus>;
};
&spi0 {
status = "okay";
};
+®_vbus {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
+};
+
+®_vusb33 {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
+};
+
&switch0 {
ports {
port@0 {
linux,code = <KEY_RESTART>;
};
};
-
- reg_power_usb: regulator {
- compatible = "regulator-fixed";
- regulator-name = "power:usb";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- regulator-boot-on;
- };
};
&spi0 {
};
};
-&xhci {
- vbus-supply = <®_power_usb>;
-};
-
&pcie {
status = "okay";
};
/delete-property/ interrupts;
};
+®_vbus {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ regulator-boot-on;
+};
+
&switch0 {
ports {
port@1 {
label-mac-device = &gmac0;
};
- reg_usb_vbus: regulator-usb {
- compatible = "regulator-fixed";
- regulator-name = "usb_vbus";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- };
-
- reg_3p3v: regulator-3p3v {
- compatible = "regulator-fixed";
- regulator-name = "fixed-3.3V";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- };
-
keys {
compatible = "gpio-keys";
};
};
-&xhci {
- vbus-supply = <®_usb_vbus>;
- vusb33-supply = <®_3p3v>;
-};
-
&nand {
status = "okay";
nvmem-cell-names = "mac-address";
};
+®_vbus {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+};
+
+®_vusb33 {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+};
+
&switch0 {
ports {
port@1 {
linux,code = <KEY_WPS_BUTTON>;
};
};
-
- reg_usb_vbus: regulator-usb {
- compatible = "regulator-fixed";
- regulator-name = "usb_vbus";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- };
-
- reg_3p3v: regulator-3p3v {
- compatible = "regulator-fixed";
- regulator-name = "fixed-3.3V";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- };
};
&sdhci {
status = "okay";
};
-&xhci {
- vusb33-supply = <®_3p3v>;
- vbus-supply = <®_usb_vbus>;
-};
-
&spi0 {
status = "okay";
/delete-property/ interrupts;
};
+®_vbus {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+};
+
+®_vusb33 {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+};
+
&switch0 {
ports {
port@1 {
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
};
};
-
- reg_usb_power: regulator {
- compatible = "regulator-fixed";
- regulator-name = "usb_power";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- regulator-boot-on;
- };
-};
-
-&xhci {
- vbus-supply = <®_usb_power>;
};
&keys {
};
};
+®_vbus {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ regulator-boot-on;
+};
+
&switch0 {
ports {
port0: port@0 {
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
};
-
- reg_usb_vbus: regulator {
- compatible = "regulator-fixed";
- regulator-name = "usb_vbus";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- };
-};
-
-&xhci {
- vbus-supply = <®_usb_vbus>;
};
&pcie {
/delete-property/ interrupts;
};
+®_vbus {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+};
+
&switch0 {
ports {
port@0 {
linux,code = <KEY_RESTART>;
};
};
-
- reg_usb_vbus: regulator {
- compatible = "regulator-fixed";
- regulator-name = "usb_vbus";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- };
-};
-
-&xhci {
- vbus-supply = <®_usb_vbus>;
};
&pcie {
/delete-property/ interrupts;
};
+®_vbus {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+};
+
&switch0 {
ports {
port@0 {
linux,code = <KEY_RESTART>;
};
};
-
- reg_usb_vbus: regulator {
- compatible = "regulator-fixed";
- regulator-name = "usb_vbus";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- };
};
&gmac0 {
};
};
+®_vbus {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+};
+
&spi0 {
status = "okay";
};
};
};
-
-&xhci {
- vbus-supply = <®_usb_vbus>;
-};
tx-disable-gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
maximum-power-milliwatt = <1000>;
};
+};
- reg_usb_vbus: regulator-usb {
- compatible = "regulator-fixed";
- regulator-name = "usb_vbus";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- };
+®_vbus {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
};
&state_default {
};
};
-&xhci {
- vbus-supply = <®_usb_vbus>;
-};
-
&pcie {
status = "okay";
};
gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
};
};
-
- reg_usb_vbus: regulator {
- compatible = "regulator-fixed";
- regulator-name = "usb_vbus";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- };
};
&spi0 {
/delete-property/ interrupts;
};
+®_vbus {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+};
+
&switch0 {
ports {
port@1 {
function = "gpio";
};
};
-
-&xhci {
- vbus-supply = <®_usb_vbus>;
-};
linux,code = <KEY_RESTART>;
};
};
-
- reg_usb_vbus: regulator-usb {
- compatible = "regulator-fixed";
- regulator-name = "usb_vbus";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- };
};
&gmac0 {
/delete-property/ interrupts;
};
+®_vbus {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+};
+
&state_default {
gpio {
groups = "uart2", "uart3", "pcie", "jtag";
&spi0 {
status = "disabled";
};
-
-&xhci {
- vbus-supply = <®_usb_vbus>;
-};
-
linux,code = <KEY_RESTART>;
};
};
-
- reg_usb_vbus: regulator {
- compatible = "regulator-fixed";
- regulator-name = "usb_vbus";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- };
-};
-
-&xhci {
- vbus-supply = <®_usb_vbus>;
};
&nand {
/delete-property/ interrupts;
};
+®_vbus {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+};
+
&switch0 {
ports {
port@1 {
linux,default-trigger = "mt7530-0:02:1Gbps";
};
};
-
- reg_usb_vbus: regulator {
- compatible = "regulator-fixed";
- regulator-name = "usb_vbus";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- };
-};
-
-&xhci {
- vbus-supply = <®_usb_vbus>;
};
&pcie {
nvmem-cell-names = "mac-address";
};
+®_vbus {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+};
+
&switch0 {
ports {
port@1 {
gpios = <&gpio 27 GPIO_ACTIVE_HIGH>;
};
};
-
- reg_usb_vbus: regulator-usb {
- compatible = "regulator-fixed";
- regulator-name = "usb_vbus";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- };
-
- reg_3p3v: regulator-3p3v {
- compatible = "regulator-fixed";
- regulator-name = "fixed-3.3V";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- };
-};
-
-&xhci {
- vusb33-supply = <®_3p3v>;
- vbus-supply = <®_usb_vbus>;
};
&spi0 {
nvmem-cell-names = "mac-address";
};
+®_vbus {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+};
+
+®_vusb33 {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+};
+
&switch0 {
ports {
port@0 {
};
};
- reg_power_usb: regulator {
- compatible = "regulator-fixed";
- regulator-name = "power_usb";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- };
-
watchdog {
compatible = "linux,wdt-gpio";
gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
};
};
-&xhci {
- vbus-supply = <®_power_usb>;
-};
-
&sdhci {
status = "okay";
};
/delete-property/ interrupts;
};
+®_vbus {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+};
+
&switch0 {
ports {
port@0 {
};
};
- reg_power_usb: regulator {
- compatible = "regulator-fixed";
- regulator-name = "power_usb";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- };
-
watchdog {
compatible = "linux,wdt-gpio";
gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
};
};
-&xhci {
- vbus-supply = <®_power_usb>;
-};
-
&sdhci {
status = "okay";
};
/delete-property/ interrupts;
};
+®_vbus {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+};
+
&switch0 {
ports {
port@0 {
};
};
-
- reg_power_usb: regulator {
- compatible = "regulator-fixed";
- regulator-name = "power_usb";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- regulator-boot-on;
- };
-};
-
-&xhci {
- vbus-supply = <®_power_usb>;
};
&nand {
};
};
+
+®_vbus {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ regulator-boot-on;
+};
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
};
};
-
- reg_usb_power: regulator {
- compatible = "regulator-fixed";
- regulator-name = "usb_power";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- regulator-boot-on;
- };
-};
-
-&xhci {
- vbus-supply = <®_usb_power>;
};
&nand {
nvmem-cell-names = "eeprom";
};
};
+
+®_vbus {
+ /delete-property/ regulator-always-on;
+ gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ regulator-boot-on;
+};