projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git]
/
target
/
linux
/
ath79
/
dts
/
ar9331_pisen_ts-d084.dts
diff --git
a/target/linux/ath79/dts/ar9331_pisen_ts-d084.dts
b/target/linux/ath79/dts/ar9331_pisen_ts-d084.dts
index 1dc659b9e438dd6b1b3700506512f094ab89c3b6..4868ba2fa0e4e9dedccbd748a9f690a838b0fd92 100644
(file)
--- a/
target/linux/ath79/dts/ar9331_pisen_ts-d084.dts
+++ b/
target/linux/ath79/dts/ar9331_pisen_ts-d084.dts
@@
-1,21
+1,20
@@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
+
+#include "ar9331.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
-#include "ar9331.dtsi"
-
/ {
model = "Pisen TS-D084";
compatible = "pisen,ts-d084", "qca,ar9331";
aliases {
/ {
model = "Pisen TS-D084";
compatible = "pisen,ts-d084", "qca,ar9331";
aliases {
- serial0 = &uart;
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
+ label-mac-device = &wmac;
};
keys {
};
keys {
@@
-33,7
+32,7
@@
compatible = "gpio-leds";
led_system: system {
compatible = "gpio-leds";
led_system: system {
- label = "
ts-d084:
blue:system";
+ label = "blue:system";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
};
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
};
@@
-56,6
+55,16
@@
reg = <0x0 0x20000>;
label = "u-boot";
read-only;
reg = <0x0 0x20000>;
label = "u-boot";
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_uboot_1fc00: macaddr@1fc00 {
+ reg = <0x1fc00 0x6>;
+ };
+ };
};
firmware: partition@20000 {
};
firmware: partition@20000 {
@@
-76,7
+85,8
@@
ð0 {
status = "okay";
ð0 {
status = "okay";
- mtd-mac-address = <&uboot 0x1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
gmac-config {
device = <&gmac>;
gmac-config {
device = <&gmac>;
@@
-91,14
+101,6
@@
compatible = "syscon", "simple-mfd";
};
compatible = "syscon", "simple-mfd";
};
-&gpio {
- status = "okay";
-};
-
-&uart {
- status = "okay";
-};
-
&usb {
dr_mode = "host";
status = "okay";
&usb {
dr_mode = "host";
status = "okay";
@@
-111,5
+113,6
@@
&wmac {
status = "okay";
mtd-cal-data = <&art 0x1000>;
&wmac {
status = "okay";
mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&uboot 0x1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
};
};