2014-11-06 09:31:31 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
2016-05-09 06:32:52 +00:00
|
|
|
#include "mt7628an.dtsi"
|
2014-11-06 09:31:31 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "mediatek,mt7628an-eval-board", "mediatek,mt7628an-soc";
|
|
|
|
model = "Mediatek MT7628AN evaluation board";
|
|
|
|
|
|
|
|
memory@0 {
|
2015-02-09 12:13:55 +00:00
|
|
|
device_type = "memory";
|
2014-11-06 09:31:31 +00:00
|
|
|
reg = <0x0 0x2000000>;
|
|
|
|
};
|
2016-05-10 10:41:46 +00:00
|
|
|
};
|
2014-11-06 09:31:31 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
&pinctrl {
|
|
|
|
state_default: pinctrl0 {
|
|
|
|
gpio {
|
2018-04-24 18:18:48 +00:00
|
|
|
ralink,group = "i2c";
|
2016-05-10 10:41:46 +00:00
|
|
|
ralink,function = "gpio";
|
2015-02-19 14:04:41 +00:00
|
|
|
};
|
2014-11-06 09:31:31 +00:00
|
|
|
};
|
2016-05-10 10:41:46 +00:00
|
|
|
};
|
2014-11-06 09:31:31 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
&wmac {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2014-11-06 09:31:31 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
&spi0 {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
m25p80@0 {
|
|
|
|
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>;
|
|
|
|
|
2018-08-01 20:32:34 +00:00
|
|
|
partitions {
|
|
|
|
compatible = "fixed-partitions";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
2014-11-06 09:31:31 +00:00
|
|
|
|
2018-08-01 20:32:34 +00:00
|
|
|
partition@0 {
|
|
|
|
label = "u-boot";
|
|
|
|
reg = <0x0 0x30000>;
|
|
|
|
read-only;
|
|
|
|
};
|
2014-11-06 09:31:31 +00:00
|
|
|
|
2018-08-01 20:32:34 +00:00
|
|
|
partition@30000 {
|
|
|
|
label = "u-boot-env";
|
|
|
|
reg = <0x30000 0x10000>;
|
|
|
|
read-only;
|
|
|
|
};
|
|
|
|
|
|
|
|
factory: partition@40000 {
|
|
|
|
label = "factory";
|
|
|
|
reg = <0x40000 0x10000>;
|
|
|
|
read-only;
|
|
|
|
};
|
2014-11-06 09:31:31 +00:00
|
|
|
|
2018-08-01 20:32:34 +00:00
|
|
|
partition@50000 {
|
2018-11-28 03:28:35 +00:00
|
|
|
compatible = "denx,uimage";
|
2018-08-01 20:32:34 +00:00
|
|
|
label = "firmware";
|
|
|
|
reg = <0x50000 0x7b0000>;
|
|
|
|
};
|
2014-11-06 09:31:31 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-05-11 19:24:12 +00:00
|
|
|
|
|
|
|
&wmac {
|
|
|
|
status = "okay";
|
|
|
|
};
|