/dts-v1/; /include/ "rt5350.dtsi" / { compatible = "HIKER", "ralink,rt5350-soc"; model = "Hiker"; palmbus@10000000 { spi@b00 { status = "okay"; m25p80@0 { #address-cells = <1>; #size-cells = <1>; #compatible = "mx25l6405d"; compatible = "w25q128"; reg = <0 0>; linux,modalias = "m25p80", "w25q128"; spi-max-frequency = <10000000>; partition@0 { label = "u-boot"; reg = <0x0 0x30000>; }; partition@30000 { label = "u-boot-env"; reg = <0x30000 0x10000>; }; factory: partition@40000 { label = "factory"; reg = <0x40000 0x10000>; }; partition@50000 { label = "firmware"; reg = <0x50000 0x7b0000>; }; }; }; }; pinctrl { state_default: pinctrl0 { gpio { ralink,group = "i2c", "jtag", "uartf"; ralink,function = "gpio"; }; }; }; gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; #size-cells = <0>; poll-interval = <20>; reset { label = "reset"; gpios = <&gpio0 19 1>; linux,code = <0x198>; }; usb { label = "button usb"; linux,code = <0x100>; gpios = <&gpio0 1 0>; }; wan { label = "button wan"; linux,code = <0x101>; gpios = <&gpio0 11 0>; }; 3g { label = "button 3g"; linux,code = <0x102>; gpios = <&gpio0 14 0>; }; }; gpio-leds { compatible = "gpio-leds"; led_r { label = "hiker:red:led_r"; gpios = <&gpio0 17 1>; }; led_b { label = "hiker:blue:led_b"; gpios = <&gpio0 18 1>; }; }; ethernet@10100000 { mtd-mac-address = <&factory 0x4>; }; esw@10110000 { mediatek,portmap = <0x2f>; }; wmac@10180000 { ralink,led-polarity = <1>; ralink,mtd-eeprom = <&factory 0>; }; ehci@101c0000 { status = "okay"; }; ohci@101c1000 { status = "okay"; }; gpio_export { compatible = "gpio-export"; #size-cells = <0>; root_hub { gpio-export,name = "root_hub"; gpio-export,output = <1>; gpios = <&gpio0 12 0>; }; }; };