projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: Cudy WR1300v2 fix mt7613 calibration data length
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
rt3050_dlink_dir-615-d.dts
diff --git
a/target/linux/ramips/dts/rt3050_dlink_dir-615-d.dts
b/target/linux/ramips/dts/rt3050_dlink_dir-615-d.dts
index a9d0dc985c9047c0197ecd477e19cae710f80c5d..4fe519780dc062253c42d682df2ef9a604c9a43a 100644
(file)
--- a/
target/linux/ramips/dts/rt3050_dlink_dir-615-d.dts
+++ b/
target/linux/ramips/dts/rt3050_dlink_dir-615-d.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>
@@
-17,7
+15,7
@@
label-mac-device = &wmac;
};
label-mac-device = &wmac;
};
-
cfi
@1f000000 {
+
flash
@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
@@
-35,9
+33,16
@@
};
devdata: partition@30000 {
};
devdata: partition@30000 {
+ compatible = "nvmem-cells";
label = "devdata";
reg = <0x30000 0x10000>;
label = "devdata";
reg = <0x30000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
read-only;
+
+ eeprom_devdata_4000: eeprom@4000 {
+ reg = <0x4000 0x200>;
+ };
};
partition@40000 {
};
partition@40000 {
@@
-74,29
+79,29
@@
leds {
compatible = "gpio-leds";
leds {
compatible = "gpio-leds";
- status {
- label = "
dir-615-d:
amber:status";
+ status
_amber
{
+ label = "amber:status";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
- led_status_green: status
2
{
- label = "
dir-615-d:
green:status";
+ led_status_green: status
_green
{
+ label = "green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
default-state = "on";
};
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
default-state = "on";
};
- wan {
- label = "
dir-615-d:
amber:wan";
+ wan
_amber
{
+ label = "amber:wan";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
- wan
2
{
- label = "
dir-615-d:
green:wan";
+ wan
_green
{
+ label = "green:wan";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
wps {
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
wps {
- label = "
dir-615-d:
blue:wps";
+ label = "blue:wps";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
@@
-107,12
+112,13
@@
};
&wmac {
};
&wmac {
- ralink,mtd-eeprom = <&devdata 0x4000>;
+ nvmem-cells = <&eeprom_devdata_4000>;
+ nvmem-cell-names = "eeprom";
};
&state_default {
gpio {
};
&state_default {
gpio {
-
ralink,group
= "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
-
ralink,
function = "gpio";
+
groups
= "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
+ function = "gpio";
};
};
};
};