2015-06-05 14:12:25 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
2016-05-09 06:32:52 +00:00
|
|
|
#include "rt5350.dtsi"
|
2015-06-05 14:12:25 +00:00
|
|
|
|
|
|
|
/ {
|
2017-07-29 02:14:07 +00:00
|
|
|
compatible = "olimex,rt5350f-olinuxino", "ralink,rt5350-soc";
|
2015-08-17 05:59:29 +00:00
|
|
|
model = "Olimex RT5350F-OLinuXino";
|
2016-05-10 10:41:46 +00:00
|
|
|
};
|
2015-06-05 14:12:25 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
&spi0 {
|
|
|
|
status = "okay";
|
2015-06-05 14:12:25 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
m25p80@0 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "jedec,spi-nor";
|
2016-05-14 17:22:08 +00:00
|
|
|
reg = <0>;
|
2016-05-10 10:41:46 +00:00
|
|
|
spi-max-frequency = <10000000>;
|
2015-06-05 14:12:25 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
partition@0 {
|
|
|
|
label = "u-boot";
|
|
|
|
reg = <0x0 0x30000>;
|
|
|
|
read-only;
|
|
|
|
};
|
2015-06-05 14:12:25 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
partition@30000 {
|
|
|
|
label = "u-boot-env";
|
|
|
|
reg = <0x30000 0x10000>;
|
|
|
|
read-only;
|
|
|
|
};
|
2015-06-05 14:12:25 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
factory: partition@40000 {
|
|
|
|
label = "factory";
|
|
|
|
reg = <0x40000 0x10000>;
|
|
|
|
read-only;
|
2015-08-17 05:57:18 +00:00
|
|
|
};
|
2015-06-05 14:12:25 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
partition@50000 {
|
|
|
|
label = "firmware";
|
2016-07-06 08:32:19 +00:00
|
|
|
reg = <0x50000 0x7b0000>;
|
2015-08-17 05:57:18 +00:00
|
|
|
};
|
|
|
|
};
|
2016-05-10 10:41:46 +00:00
|
|
|
};
|
2015-06-05 14:12:25 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
&gpio1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl {
|
|
|
|
state_default: pinctrl0 {
|
|
|
|
gpio {
|
|
|
|
ralink,group = "jtag", "rgmii", "mdio", "uartf";
|
|
|
|
ralink,function = "gpio";
|
2015-08-17 05:57:18 +00:00
|
|
|
};
|
|
|
|
};
|
2016-05-10 10:41:46 +00:00
|
|
|
};
|
2015-06-05 14:12:25 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
ðernet {
|
|
|
|
mtd-mac-address = <&factory 0x4>;
|
|
|
|
};
|
2015-06-05 14:12:25 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
&esw {
|
|
|
|
mediatek,portmap = <0x2f>;
|
|
|
|
mediatek,led_polarity = <0x17>;
|
|
|
|
};
|
2015-06-05 14:12:25 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
&wmac {
|
|
|
|
ralink,mtd-eeprom = <&factory 0>;
|
|
|
|
};
|
2015-06-05 14:12:25 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
&ehci {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
&ohci {
|
|
|
|
status = "okay";
|
2015-06-05 14:12:25 +00:00
|
|
|
};
|