X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FFREESTATION5.dts;h=a3cc8fc97dac72cf2a40fa9ff37aa4d8d9a0bc9c;hb=eddd7f577318c75bd4adc5d1b954813b3a41c568;hp=7b7d2d0af738c280b5e62a03637a8a578f65b24c;hpb=4f1ff28f086da25b122cc29c4c468a33eb7ec891;p=lede.git diff --git a/target/linux/ramips/dts/FREESTATION5.dts b/target/linux/ramips/dts/FREESTATION5.dts index 7b7d2d0af7..a3cc8fc97d 100644 --- a/target/linux/ramips/dts/FREESTATION5.dts +++ b/target/linux/ramips/dts/FREESTATION5.dts @@ -3,13 +3,25 @@ /include/ "rt3050.dtsi" / { - compatible = "FREESTATION5", "ralink,rt3052-soc"; + compatible = "FREESTATION5", "ralink,rt3050-soc"; model = "ARC FreeStation5"; chosen { bootargs = "console=ttyS0,115200"; }; + palmbus@10000000 { + sysc@0 { + ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii"; + ralink,uartmux = "gpio"; + ralink,wdtmux = <1>; + }; + + gpio0: gpio@600 { + status = "okay"; + }; + }; + cfi@1f000000 { compatible = "cfi-flash"; reg = <0x1f000000 0x800000>; @@ -49,7 +61,7 @@ esw@10110000 { status = "okay"; - ralink,portmap = <0x3e>; + ralink,portmap = <0x01>; }; wmac@10180000 { @@ -59,4 +71,33 @@ otg@101c0000 { status = "okay"; }; + + gpio-export { + compatible = "gpio-export"; + // Used to enable power-over-ethernet passthrough from port0 to port1. + // Disable passthrough by default to prevent accidental equipment damage. + poe { + gpio-export,name = "poe-passthrough"; + gpio-export,output = <1>; // OUT_INIT_HIGH + gpios = <&gpio0 11 1>; // GPIO 11, ACTIVE_LOW + }; + }; + + gpio-leds { + compatible = "gpio-leds"; + // The following leds are defined in the ArcOS firmware, but reportedly + // not present in the Freestation5 device. + wifi { + label = "freestation:unknown:wifi"; + gpios = <&gpio0 7 1>; + }; + powerg { + label = "freestation:unknown:powerg"; + gpios = <&gpio0 9 1>; + }; + usb { + label = "freestation:unknown:usb"; + gpios = <&gpio0 14 1>; + }; + }; };