Changeset View
Changeset View
Standalone View
Standalone View
sys/gnu/dts/mips/RT5350F-OLINUXINO.dtsi
- This file was copied from sys/gnu/dts/mips/WIZARD8800.dts.
/dts-v1/; | |||||
#include "rt5350.dtsi" | #include "rt5350.dtsi" | ||||
/ { | / { | ||||
compatible = "WIZARD8800", "ralink,rt5350-soc"; | compatible = "olimex,rt5350f-olinuxino", "ralink,rt5350-soc"; | ||||
model = "EASYACC WI-STOR WIZARD 8800"; | |||||
}; | |||||
&gpio0 { | aliases { | ||||
status = "okay"; | serial0 = &uartlite; | ||||
serial1 = &uart; | |||||
}; | }; | ||||
&gpio1 { | |||||
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", "w25q32"; | |||||
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 11 Lines | m25p80@0 { | ||||
partition@50000 { | partition@50000 { | ||||
label = "firmware"; | label = "firmware"; | ||||
reg = <0x50000 0x7b0000>; | reg = <0x50000 0x7b0000>; | ||||
}; | }; | ||||
}; | }; | ||||
}; | }; | ||||
&gpio1 { | |||||
status = "okay"; | |||||
}; | |||||
&pinctrl { | &pinctrl { | ||||
state_default: pinctrl0 { | state_default: pinctrl0 { | ||||
gpio { | gpio { | ||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf"; | ralink,group = "jtag", "rgmii", "mdio"; | ||||
ralink,function = "gpio"; | ralink,function = "gpio"; | ||||
}; | }; | ||||
uartf_gpio { | |||||
ralink,group = "uartf"; | |||||
ralink,function = "gpio uartf"; | |||||
}; | }; | ||||
}; | }; | ||||
}; | |||||
ðernet { | ðernet { | ||||
mtd-mac-address = <&factory 0x4>; | mtd-mac-address = <&factory 0x4>; | ||||
}; | }; | ||||
&esw { | &esw { | ||||
mediatek,portmap = <0x2f>; | mediatek,portmap = <0x2f>; | ||||
mediatek,led_polarity = <0x17>; | |||||
}; | }; | ||||
&wmac { | |||||
ralink,mtd-eeprom = <&factory 0>; | |||||
ralink,led-polarity = <1>; | |||||
}; | |||||
&ehci { | &ehci { | ||||
status = "okay"; | status = "okay"; | ||||
}; | }; | ||||
&ohci { | &ohci { | ||||
status = "okay"; | status = "okay"; | ||||
}; | }; | ||||
&wmac { | &i2c { | ||||
ralink,mtd-eeprom = <&factory 0>; | status = "okay"; | ||||
}; | }; | ||||
&uart { | |||||
status = "okay"; | |||||
}; | |||||