openwrt/target/linux/ath79/dts/ar9342_ruckus_zf7321.dts
Rosen Penev 9783340af9 ath79: ar: convert to nvmem-layout
Will allow removing deprecated mac-address-increment.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-11-25 21:34:18 -08:00

75 lines
1.3 KiB
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "ar934x_ruckus_zf73xx.dtsi"
/ {
model = "Ruckus ZoneFlex 7321[-U]";
compatible = "ruckus,zf7321", "qca,ar9342";
leds {
air-green {
label = "green:air";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
dir-green {
label = "green:dir";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
power_red: power-red {
label = "red:power";
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
panic-indicator;
};
wlan2g-green {
label = "green:wlan2g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0assoc";
};
wlan2g-yellow {
label = "yellow:wlan2g";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wlan5g-green {
label = "green:wlan5g";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0assoc";
};
wlan5g-yellow {
label = "yellow:wlan5g";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
};
};
&board_data {
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_board_data_60: macaddr@60 {
reg = <0x60 0x6>;
};
macaddr_board_data_66: macaddr@66 {
reg = <0x66 0x6>;
};
cal_board_data_41000: cal@41000 {
reg = <0x41000 0x440>;
};
};
};
&eth0 {
nvmem-cells = <&macaddr_board_data_66>;
};