Changeset View
Changeset View
Standalone View
Standalone View
head/sys/gnu/dts/mips/ALL0239-3G.dts
/dts-v1/; | /dts-v1/; | ||||
/include/ "rt3050.dtsi" | #include "rt3050.dtsi" | ||||
/ { | / { | ||||
compatible = "ALL0239-3G", "ralink,rt3052-soc"; | compatible = "ALL0239-3G", "ralink,rt3052-soc"; | ||||
model = "Allnet ALL0239-3G"; | model = "Allnet ALL0239-3G"; | ||||
pinctrl { | |||||
state_default: pinctrl0 { | |||||
gpio { | |||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf"; | |||||
ralink,function = "gpio"; | |||||
}; | |||||
}; | |||||
}; | |||||
cfi@1f000000 { | cfi@1f000000 { | ||||
compatible = "cfi-flash"; | compatible = "cfi-flash"; | ||||
reg = <0x1f000000 0x800000>; | reg = <0x1f000000 0x800000>; | ||||
bank-width = <2>; | bank-width = <2>; | ||||
device-width = <2>; | device-width = <2>; | ||||
#address-cells = <1>; | #address-cells = <1>; | ||||
#size-cells = <1>; | #size-cells = <1>; | ||||
Show All 17 Lines | cfi@1f000000 { | ||||
}; | }; | ||||
partition@50000 { | partition@50000 { | ||||
label = "firmware"; | label = "firmware"; | ||||
reg = <0x50000 0x7b0000>; | reg = <0x50000 0x7b0000>; | ||||
}; | }; | ||||
}; | }; | ||||
ethernet@10100000 { | |||||
mtd-mac-address = <&factory 0x28>; | |||||
}; | |||||
esw@10110000 { | |||||
status = "okay"; | |||||
mediatek,portmap = <0x3e>; | |||||
}; | |||||
wmac@10180000 { | |||||
ralink,mtd-eeprom = <&factory 0>; | |||||
}; | |||||
gpio-leds { | gpio-leds { | ||||
compatible = "gpio-leds"; | compatible = "gpio-leds"; | ||||
usb { | usb { | ||||
label = "all0239-3g:green:usb"; | label = "all0239-3g:green:usb"; | ||||
gpios = <&gpio0 8 1>; | gpios = <&gpio0 8 1>; | ||||
}; | }; | ||||
Show All 32 Lines | gpio-keys-polled { | ||||
}; | }; | ||||
wps { | wps { | ||||
label = "wps"; | label = "wps"; | ||||
gpios = <&gpio0 0 1>; | gpios = <&gpio0 0 1>; | ||||
linux,code = <0x211>; | linux,code = <0x211>; | ||||
}; | }; | ||||
}; | }; | ||||
}; | |||||
otg@101c0000 { | &pinctrl { | ||||
state_default: pinctrl0 { | |||||
gpio { | |||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf"; | |||||
ralink,function = "gpio"; | |||||
}; | |||||
}; | |||||
}; | |||||
ðernet { | |||||
mtd-mac-address = <&factory 0x28>; | |||||
}; | |||||
&esw { | |||||
status = "okay"; | status = "okay"; | ||||
mediatek,portmap = <0x3e>; | |||||
}; | }; | ||||
&wmac { | |||||
ralink,mtd-eeprom = <&factory 0>; | |||||
}; | |||||
&otg { | |||||
status = "okay"; | |||||
}; | }; |