projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: fix mtd partition node names for Phicomm PSG1208
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
rt5350_wansview_ncs601w.dts
diff --git
a/target/linux/ramips/dts/rt5350_wansview_ncs601w.dts
b/target/linux/ramips/dts/rt5350_wansview_ncs601w.dts
index ff6ccd2247113a97cf22ea3c725ab0a67a0d0f3b..911e3e44edf004817a4110784b5dfba8a8fb6567 100644
(file)
--- a/
target/linux/ramips/dts/rt5350_wansview_ncs601w.dts
+++ b/
target/linux/ramips/dts/rt5350_wansview_ncs601w.dts
@@
-1,5
+1,3
@@
-/dts-v1/;
-
#include "rt5350.dtsi"
/ {
#include "rt5350.dtsi"
/ {
@@
-10,7
+8,7
@@
&spi0 {
status = "okay";
&spi0 {
status = "okay";
-
m25p80
@0 {
+
flash
@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
@@
-47,17
+45,16
@@
};
};
};
};
-&pinctrl {
- state_default: pinctrl0 {
- gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
- };
+&state_default {
+ gpio {
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
ðernet {
};
};
ðernet {
- mtd-mac-address = <&factory 0x4>;
+ nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cell-names = "mac-address";
};
&esw {
};
&esw {
@@
-65,13
+62,15
@@
};
&wmac {
};
&wmac {
- ralink,mtd-eeprom = <&factory 0>;
+ ralink,mtd-eeprom = <&factory 0
x0
>;
};
};
-&ehci {
- status = "okay";
-};
+&factory {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
-&ohci {
- status = "okay";
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
};