forked from mirror/openwrt
ipq806x: fix wifi node
In the conversion to nvmem of eax500 and unifi-ac-hd, the address was
set to 0 as is the case with most platforms, but not this one.
The wifi node also needs to be wrapped in a bridge node.
Matches every other device in ipq806x.
Fixes: 148f82ad45 ("ipq806x: use nvmem for wifi mac")
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20325
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
b64fdedeac
commit
1a3f05eb2b
2 changed files with 50 additions and 20 deletions
|
|
@ -53,22 +53,36 @@
|
||||||
|
|
||||||
max-link-speed = <1>;
|
max-link-speed = <1>;
|
||||||
|
|
||||||
wifi@0,0 {
|
bridge@0,0 {
|
||||||
compatible = "qcom,ath10k";
|
reg = <0x00000000 0 0 0 0>;
|
||||||
reg = <0x0000 0 0 0 0>;
|
#address-cells = <3>;
|
||||||
nvmem-cells = <&precal_art_1000>;
|
#size-cells = <2>;
|
||||||
nvmem-cell-names = "pre-calibration";
|
ranges;
|
||||||
|
|
||||||
|
wifi@1,0 {
|
||||||
|
compatible = "qcom,ath10k";
|
||||||
|
reg = <0x00010000 0 0 0 0>;
|
||||||
|
nvmem-cells = <&precal_art_1000>;
|
||||||
|
nvmem-cell-names = "pre-calibration";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&pcie1 {
|
&pcie1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
wifi@0,0 {
|
bridge@0,0 {
|
||||||
compatible = "qcom,ath10k";
|
reg = <0x00000000 0 0 0 0>;
|
||||||
reg = <0x0000 0 0 0 0>;
|
#address-cells = <3>;
|
||||||
nvmem-cells = <&precal_art_5000>;
|
#size-cells = <2>;
|
||||||
nvmem-cell-names = "pre-calibration";
|
ranges;
|
||||||
|
|
||||||
|
wifi@1,0 {
|
||||||
|
compatible = "qcom,ath10k";
|
||||||
|
reg = <0x00010000 0 0 0 0>;
|
||||||
|
nvmem-cells = <&precal_art_5000>;
|
||||||
|
nvmem-cell-names = "pre-calibration";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -283,22 +283,38 @@
|
||||||
&pcie0 {
|
&pcie0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
wifi@0,0 {
|
bridge@0,0 {
|
||||||
compatible = "qcom,ath10k";
|
reg = <0x00000000 0 0 0 0>;
|
||||||
reg = <0x0000 0 0 0 0>;
|
#address-cells = <3>;
|
||||||
nvmem-cells = <&macaddr_eeprom_6 1>;
|
#size-cells = <2>;
|
||||||
nvmem-cell-names = "mac-address";
|
ranges;
|
||||||
|
|
||||||
|
wifi@1,0 {
|
||||||
|
compatible = "qcom,ath10k";
|
||||||
|
reg = <0x00010000 0 0 0 0>;
|
||||||
|
|
||||||
|
nvmem-cells = <&macaddr_eeprom_6 1>;
|
||||||
|
nvmem-cell-names = "mac-address";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&pcie1 {
|
&pcie1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
wifi@0,0 {
|
bridge@0,0 {
|
||||||
compatible = "qcom,ath10k";
|
reg = <0x00000000 0 0 0 0>;
|
||||||
reg = <0x0000 0 0 0 0>;
|
#address-cells = <3>;
|
||||||
nvmem-cells = <&macaddr_eeprom_6 2>;
|
#size-cells = <2>;
|
||||||
nvmem-cell-names = "mac-address";
|
ranges;
|
||||||
|
|
||||||
|
wifi@1,0 {
|
||||||
|
compatible = "qcom,ath10k";
|
||||||
|
reg = <0x00010000 0 0 0 0>;
|
||||||
|
|
||||||
|
nvmem-cells = <&macaddr_eeprom_6 2>;
|
||||||
|
nvmem-cell-names = "mac-address";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue