Changeset View
Changeset View
Standalone View
Standalone View
sys/gnu/dts/mips/ALL0256N-8M.dts
/dts-v1/; | /dts-v1/; | ||||
#include "rt3050.dtsi" | #include "ALL0256N.dtsi" | ||||
/ { | / { | ||||
compatible = "ALL0256N", "ralink,rt3050-soc"; | compatible = "allnet,all0256n-8m", "allnet,all0256n", "ralink,rt3050-soc"; | ||||
model = "Allnet ALL0256N"; | model = "Allnet ALL0256N (8M)"; | ||||
gpio-leds { | |||||
compatible = "gpio-leds"; | |||||
rssilow { | |||||
label = "all0256n:green:rssilow"; | |||||
gpios = <&gpio0 14 1>; | |||||
}; | }; | ||||
rssimed { | |||||
label = "all0256n:green:rssimed"; | |||||
gpios = <&gpio0 12 1>; | |||||
}; | |||||
rssihigh { | |||||
label = "all0256n:green:rssihigh"; | |||||
gpios = <&gpio0 13 1>; | |||||
}; | |||||
}; | |||||
gpio-keys-polled { | |||||
compatible = "gpio-keys-polled"; | |||||
#address-cells = <1>; | |||||
#size-cells = <0>; | |||||
poll-interval = <20>; | |||||
reset { | |||||
label = "reset"; | |||||
gpios = <&gpio0 0 1>; | |||||
linux,code = <0x198>; | |||||
}; | |||||
}; | |||||
}; | |||||
&gpio0 { | |||||
status = "okay"; | |||||
}; | |||||
&spi0 { | &spi0 { | ||||
status = "okay"; | status = "okay"; | ||||
m25p80@0 { | m25p80@0 { | ||||
#address-cells = <1>; | #address-cells = <1>; | ||||
#size-cells = <1>; | #size-cells = <1>; | ||||
compatible = "jedec,spi-nor"; | compatible = "jedec,spi-nor"; | ||||
reg = <0>; | reg = <0>; | ||||
linux,modalias = "m25p80", "mx25l3205d"; | |||||
spi-max-frequency = <10000000>; | spi-max-frequency = <10000000>; | ||||
partition@0 { | partition@0 { | ||||
label = "u-boot"; | label = "u-boot"; | ||||
reg = <0x0 0x30000>; | reg = <0x0 0x30000>; | ||||
read-only; | read-only; | ||||
}; | }; | ||||
Show All 9 Lines | factory: partition@40000 { | ||||
read-only; | read-only; | ||||
}; | }; | ||||
partition@50000 { | partition@50000 { | ||||
label = "firmware"; | label = "firmware"; | ||||
reg = <0x50000 0x7b0000>; | reg = <0x50000 0x7b0000>; | ||||
}; | }; | ||||
}; | }; | ||||
}; | |||||
&pinctrl { | |||||
state_default: pinctrl0 { | |||||
gpio { | |||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf"; | |||||
ralink,function = "gpio"; | |||||
}; | |||||
}; | |||||
}; | |||||
ðernet { | |||||
mtd-mac-address = <&factory 0x28>; | |||||
}; | |||||
&esw { | |||||
mediatek,portmap = <0x3f>; | |||||
}; | |||||
&wmac { | |||||
ralink,mtd-eeprom = <&factory 0>; | |||||
}; | }; |