Changeset View
Changeset View
Standalone View
Standalone View
sys/gnu/dts/mips/FREESTATION5.dts
/dts-v1/; | /dts-v1/; | ||||
#include "rt3050.dtsi" | #include "rt3050.dtsi" | ||||
#include <dt-bindings/gpio/gpio.h> | |||||
#include <dt-bindings/input/input.h> | |||||
/ { | / { | ||||
compatible = "FREESTATION5", "ralink,rt3050-soc"; | compatible = "arcwireless,freestation5", "ralink,rt3050-soc"; | ||||
model = "ARC FreeStation5"; | model = "ARC FreeStation5"; | ||||
chosen { | chosen { | ||||
bootargs = "console=ttyS0,115200"; | bootargs = "console=ttyS0,115200"; | ||||
}; | }; | ||||
cfi@1f000000 { | cfi@1f000000 { | ||||
compatible = "cfi-flash"; | compatible = "cfi-flash"; | ||||
Show All 30 Lines | / { | ||||
gpio-export { | gpio-export { | ||||
compatible = "gpio-export"; | compatible = "gpio-export"; | ||||
// Used to enable power-over-ethernet passthrough from port0 to port1. | // Used to enable power-over-ethernet passthrough from port0 to port1. | ||||
// Disable passthrough by default to prevent accidental equipment damage. | // Disable passthrough by default to prevent accidental equipment damage. | ||||
poe { | poe { | ||||
gpio-export,name = "poe-passthrough"; | gpio-export,name = "poe-passthrough"; | ||||
gpio-export,output = <1>; // OUT_INIT_HIGH | gpio-export,output = <1>; // OUT_INIT_HIGH | ||||
gpios = <&gpio0 11 1>; // GPIO 11, ACTIVE_LOW | gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; // GPIO 11, ACTIVE_LOW | ||||
}; | }; | ||||
}; | }; | ||||
gpio-leds { | gpio-leds { | ||||
compatible = "gpio-leds"; | compatible = "gpio-leds"; | ||||
// The following leds are defined in the ArcOS firmware, but reportedly | // The following leds are defined in the ArcOS firmware, but reportedly | ||||
// not present in the Freestation5 device. | // not present in the Freestation5 device. | ||||
wifi { | wifi { | ||||
label = "freestation5:unknown:wifi"; | label = "freestation5:unknown:wifi"; | ||||
gpios = <&gpio0 7 1>; | gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; | ||||
}; | }; | ||||
powerg { | powerg { | ||||
label = "freestation5:unknown:powerg"; | label = "freestation5:unknown:powerg"; | ||||
gpios = <&gpio0 9 1>; | gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; | ||||
}; | }; | ||||
usb { | usb { | ||||
label = "freestation5:unknown:usb"; | label = "freestation5:unknown:usb"; | ||||
gpios = <&gpio0 14 1>; | gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; | ||||
}; | }; | ||||
}; | }; | ||||
}; | }; | ||||
&pinctrl { | &pinctrl { | ||||
state_default: pinctrl0 { | state_default: pinctrl0 { | ||||
gpio { | gpio { | ||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf"; | ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf"; | ||||
Show All 20 Lines |