1 // SPDX-License-Identifier: GPL-2.0 OR MIT
3 #include "qcom-ipq4029-aruba-glenmorangie.dtsi"
4 #include <dt-bindings/gpio/gpio.h>
7 model = "Aruba AP-303";
8 compatible = "aruba,ap-303";
11 led-boot = &led_system_green;
12 led-failsafe = &led_system_red;
13 led-running = &led_system_green;
14 led-upgrade = &led_system_red;
18 compatible = "gpio-leds";
21 label = "ap-303:green:wifi";
22 gpios = <&tlmm 39 GPIO_ACTIVE_HIGH>;
23 linux,default-trigger = "phy0tpt";
27 label = "ap-303:amber:wifi";
28 gpios = <&tlmm 40 GPIO_ACTIVE_HIGH>;
29 linux,default-trigger = "phy1tpt";
32 led_system_red: system_red {
33 label = "ap-303:red:system";
34 gpios = <&tlmm 46 GPIO_ACTIVE_HIGH>;
37 led_system_green: system_green {
38 label = "ap-303:green:system";
39 gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
46 * In addition to the Pins listed below,
47 * the following GPIOs have "features":
48 * 54 - out - active low to force HW reset
49 * 41 - out - active low to reset TPM
50 * 43 - out - active low to reset BLE radio
51 * 19 - in - active high when DC powered
55 line-name = "PHY-reset";
56 gpios = <42 GPIO_ACTIVE_HIGH>;
63 pinctrl-0 = <&spi_0_pins>;
64 pinctrl-names = "default";
66 cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
69 compatible = "jedec,spi-nor";
71 spi-max-frequency = <24000000>;
74 compatible = "fixed-partitions";
79 * There is no partition map for the NOR flash
80 * in the stock firmware.
82 * All partitions here are based on offsets
83 * found in the U-Boot GPL code and information
95 reg = <0x40000 0x20000>;
101 reg = <0x60000 0x60000>;
107 reg = <0xc0000 0x10000>;
113 reg = <0xd0000 0x10000>;
119 reg = <0xe0000 0x10000>;
125 reg = <0xf0000 0xf0000>;
131 reg = <0x1e0000 0x10000>;
137 reg = <0x1f0000 0x10000>;
143 reg = <0x200000 0x180000>;
150 reg = <0x380000 0x10000>;
156 reg = <0x390000 0x10000>;
162 reg = <0x3a0000 0x10000>;
167 /* Called osss1 in smem */
168 label = "u-boot-env-bak";
169 reg = <0x3b0000 0x10000>;
174 label = "u-boot-env";
175 reg = <0x3f0000 0x10000>;