projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: unielec-u7621-01: Increase SPI frequency to 50MHz
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
rt3050_dlink_dir-620-a1.dts
diff --git
a/target/linux/ramips/dts/rt3050_dlink_dir-620-a1.dts
b/target/linux/ramips/dts/rt3050_dlink_dir-620-a1.dts
index 1aee3b37fbb25c91376667d3cd1353d899a608bd..3a5624d125ee7bd66eb742ba0450c186ee067592 100644
(file)
--- a/
target/linux/ramips/dts/rt3050_dlink_dir-620-a1.dts
+++ b/
target/linux/ramips/dts/rt3050_dlink_dir-620-a1.dts
@@
-1,5
+1,3
@@
-/dts-v1/;
-
#include "rt3050.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include "rt3050.dtsi"
#include <dt-bindings/gpio/gpio.h>
@@
-16,7
+14,7
@@
led-upgrade = &led_status_green;
};
led-upgrade = &led_status_green;
};
-
cfi
@1f000000 {
+
flash
@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
@@
-43,6
+41,20
@@
label = "factory";
reg = <0x40000 0x10000>;
read-only;
label = "factory";
reg = <0x40000 0x10000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
+
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
+ };
};
partition@50000 {
};
partition@50000 {
@@
-74,32
+86,32
@@
compatible = "gpio-leds";
status {
compatible = "gpio-leds";
status {
- label = "
dir-620-a1:
amber:status";
+ label = "amber:status";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
led_status_green: status2 {
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
led_status_green: status2 {
- label = "
dir-620-a1:
green:status";
+ label = "green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wan {
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wan {
- label = "
dir-620-a1:
amber:wan";
+ label = "amber:wan";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
wan2 {
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
wan2 {
- label = "
dir-620-a1:
green:wan";
+ label = "green:wan";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
wps {
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
wps {
- label = "
dir-620-a1:
blue:wps";
+ label = "blue:wps";
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
};
wps2 {
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
};
wps2 {
- label = "
dir-620-a1:
amber:wps";
+ label = "amber:wps";
gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
};
};
gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
};
};
@@
-113,7
+125,8
@@
};
ðernet {
};
ðernet {
- mtd-mac-address = <&factory 0x4>;
+ nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cell-names = "mac-address";
};
&esw {
};
&esw {
@@
-121,7
+134,8
@@
};
&wmac {
};
&wmac {
- ralink,mtd-eeprom = <&factory 0x0>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
&otg {
};
&otg {