Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
- #include "qca955x.dtsi"
- #include <dt-bindings/gpio/gpio.h>
- #include <dt-bindings/input/input.h>
- / {
- compatible = "asus,rt-ac55u", "qca,qca9557";
- model = "ASUS RT-AC55U";
- aliases {
- led-boot = &led_power;
- led-failsafe = &led_power;
- led-running = &led_power;
- led-upgrade = &led_power;
- };
- keys {
- compatible = "gpio-keys";
- reset {
- label = "reset";
- gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
- linux,code = <KEY_RESTART>;
- debounce-interval = <60>;
- };
- };
- leds {
- compatible = "gpio-leds";
- led_power: power {
- label = "blue:power";
- gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
- };
- wifi2g {
- label = "blue:wifi2g";
- gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "phy1tpt";
- };
- wifi5g {
- label = "green:wifi5g";
- gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
- wps {
- label = "green:wps";
- gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
- };
- };
- };
- &nand {
- status="okay";
- partitions {
- compatible="fixed-partitions";
- #address-cells = <1>;
- #size-cells = <1>;
- partition@0 {
- label = "Bootloader";
- reg = <0x000000000000 0x000e0000>;
- };
- partition@000000100000 {
- label = "ubi";
- reg = <0x000000100000 0x07e00000>;
- };
- cal: partition@000007f00000 {
- label = "caldata";
- reg = <0x000007f00000 0x00010000>;
- };
- };
- };
- &wmac {
- status="okay";
- wifi@0,0 {
- compatible = "qcom,ath9k";
- mtd-cal-data = <&cal 0x5000>;
- qca;
- };
- };
- &pcie0 {
- status = "okay";
- wifi@1,0 {
- compatible = "qcom,ath10k";
- mtd-cal-data = <&cal 0x5000>;
- qca;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement