1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca956x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 label-mac-device = ð0;
17 pll-data = <0x03000101 0x00000101 0x00001919>;
22 nvmem-cells = <&macaddr_factory_1002>;
23 nvmem-cell-names = "mac-address";
29 phy0: ethernet-phy@0 {
32 qca,mib-poll-interval = <500>;
34 qca,ar8327-initvals = <
35 0x04 0x80080080 /* PORT0 PAD MODE CTRL */
36 0x08 0x00000000 /* PORT5 PAD MODE CTRL */
37 0x0c 0x00000000 /* PORT6 PAD MODE CTRL */
38 0x10 0x00000080 /* POWER_ON_STRAP */
39 0x7c 0x0000007e /* PORT0_STATUS */
40 0x94 0x00000200 /* PORT6_STATUS */
49 compatible = "qcom,ath10k";
52 nvmem-cells = <&precal_factory_5000>;
53 nvmem-cell-names = "pre-calibration";
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <25000000>;
66 mtdparts: partitions {
67 compatible = "fixed-partitions";
73 reg = <0x000000 0x040000>;
79 reg = <0x040000 0x010000>;
85 reg = <0x050000 0x010000>;
89 compatible = "fixed-layout";
93 cal_factory_1000: cal@1000 {
97 macaddr_factory_1002: macaddr@1002 {
101 precal_factory_5000: precal@5000 {
102 reg = <0x5000 0x2f20>;
111 /* Does not work due to lack of QCN5502 support in ath9k. */
114 nvmem-cells = <&cal_factory_1000>;
115 nvmem-cell-names = "calibration";