mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-29 10:22:56 +00:00
ath79: AP105: use fixed layout cell "mac-base"
This drops a use of the deprecated "mac-address-increment". Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
This commit is contained in:
parent
d82c5884c6
commit
0ba5c0bdc1
@ -96,9 +96,8 @@
|
|||||||
|
|
||||||
ath9k0: wifi@0,11 { /* 2.4 GHz */
|
ath9k0: wifi@0,11 { /* 2.4 GHz */
|
||||||
compatible = "pci168c,0029";
|
compatible = "pci168c,0029";
|
||||||
nvmem-cells = <&macaddr_hwinfo_1c>;
|
nvmem-cells = <&macaddr_hwinfo_1c 1>;
|
||||||
nvmem-cell-names = "mac-address";
|
nvmem-cell-names = "mac-address";
|
||||||
mac-address-increment = <1>;
|
|
||||||
reg = <0x8800 0 0 0 0>;
|
reg = <0x8800 0 0 0 0>;
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
gpio-controller;
|
gpio-controller;
|
||||||
@ -106,9 +105,8 @@
|
|||||||
|
|
||||||
ath9k1: wifi@0,12 { /* 5 GHz */
|
ath9k1: wifi@0,12 { /* 5 GHz */
|
||||||
compatible = "pci168c,0029";
|
compatible = "pci168c,0029";
|
||||||
nvmem-cells = <&macaddr_hwinfo_1c>;
|
nvmem-cells = <&macaddr_hwinfo_1c 2>;
|
||||||
nvmem-cell-names = "mac-address";
|
nvmem-cell-names = "mac-address";
|
||||||
mac-address-increment = <2>;
|
|
||||||
reg = <0x9000 0 0 0 0>;
|
reg = <0x9000 0 0 0 0>;
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
gpio-controller;
|
gpio-controller;
|
||||||
@ -125,7 +123,7 @@
|
|||||||
|
|
||||||
ð0 {
|
ð0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
nvmem-cells = <&macaddr_hwinfo_1c>;
|
nvmem-cells = <&macaddr_hwinfo_1c 0>;
|
||||||
nvmem-cell-names = "mac-address";
|
nvmem-cell-names = "mac-address";
|
||||||
|
|
||||||
pll-data = <0x00110000 0x00001099 0x00991099>;
|
pll-data = <0x00110000 0x00001099 0x00991099>;
|
||||||
@ -160,9 +158,22 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
hwinfo: partition@fe0000 {
|
hwinfo: partition@fe0000 {
|
||||||
label = "hwinfo";
|
|
||||||
reg = <0xfe0000 0x10000>;
|
reg = <0xfe0000 0x10000>;
|
||||||
|
compatible = "nvmem-cells";
|
||||||
|
label = "hwinfo";
|
||||||
read-only;
|
read-only;
|
||||||
|
|
||||||
|
nvmem-layout {
|
||||||
|
compatible = "fixed-layout";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
|
||||||
|
macaddr_hwinfo_1c: mac-address@1c {
|
||||||
|
compatible = "mac-base";
|
||||||
|
reg = <0x1c 0x6>;
|
||||||
|
#nvmem-cell-cells = <1>;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
partition@ff0000 {
|
partition@ff0000 {
|
||||||
@ -173,13 +184,3 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&hwinfo {
|
|
||||||
compatible = "nvmem-cells";
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <1>;
|
|
||||||
|
|
||||||
macaddr_hwinfo_1c: macaddr@1c {
|
|
||||||
reg = <0x1c 0x6>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
Loading…
Reference in New Issue
Block a user