Changeset View
Changeset View
Standalone View
Standalone View
head/sys/gnu/dts/mips/JHR-N825R.dts
/dts-v1/; | /dts-v1/; | ||||
/include/ "rt3050.dtsi" | #include "rt3050.dtsi" | ||||
/ { | / { | ||||
compatible = "JHR-N825R", "ralink,rt3052-soc"; | compatible = "JHR-N825R", "ralink,rt3052-soc"; | ||||
model = "JCG JHR-N825R"; | model = "JCG JHR-N825R"; | ||||
pinctrl { | |||||
state_default: pinctrl0 { | |||||
gpio { | |||||
ralink,group = "spi", "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 16 Lines | cfi@1f000000 { | ||||
}; | }; | ||||
partition@50000 { | partition@50000 { | ||||
label = "firmware"; | label = "firmware"; | ||||
reg = <0x50000 0x3b0000>; | reg = <0x50000 0x3b0000>; | ||||
}; | }; | ||||
}; | }; | ||||
ethernet@10100000 { | |||||
mtd-mac-address = <&factory 0x2e>; | |||||
}; | |||||
esw@10110000 { | |||||
mediatek,portmap = <0x3e>; | |||||
}; | |||||
wmac@10180000 { | |||||
ralink,mtd-eeprom = <&factory 0>; | |||||
}; | |||||
gpio-leds { | gpio-leds { | ||||
compatible = "gpio-leds"; | compatible = "gpio-leds"; | ||||
system { | system { | ||||
label = "jhr-n825r:red:power"; | label = "jhr-n825r:red:power"; | ||||
gpios = <&gpio0 9 1>; | gpios = <&gpio0 9 1>; | ||||
}; | }; | ||||
}; | }; | ||||
gpio-keys-polled { | gpio-keys-polled { | ||||
compatible = "gpio-keys-polled"; | compatible = "gpio-keys-polled"; | ||||
#address-cells = <1>; | #address-cells = <1>; | ||||
#size-cells = <0>; | #size-cells = <0>; | ||||
poll-interval = <20>; | poll-interval = <20>; | ||||
reset_wps { | reset_wps { | ||||
label = "reset_wps"; | label = "reset_wps"; | ||||
gpios = <&gpio0 10 1>; | gpios = <&gpio0 10 1>; | ||||
linux,code = <0x198>; | linux,code = <0x198>; | ||||
}; | }; | ||||
}; | }; | ||||
}; | |||||
&pinctrl { | |||||
state_default: pinctrl0 { | |||||
gpio { | |||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf"; | |||||
ralink,function = "gpio"; | |||||
}; | |||||
}; | |||||
}; | |||||
ðernet { | |||||
mtd-mac-address = <&factory 0x2e>; | |||||
}; | |||||
&esw { | |||||
mediatek,portmap = <0x3e>; | |||||
}; | |||||
&wmac { | |||||
ralink,mtd-eeprom = <&factory 0>; | |||||
}; | }; |