Openwrt/target/linux/ramips/dts/mt7621_edimax_ra21s.dts
DENG Qingfang 60f691dae4 ramips: mt7621: convert GPIO dts refs
The upstream driver does not use &gpio0..2 banks notation anymore,
so convert them to &gpio

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-04-04 14:13:05 +08:00

41 lines
702 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
#include "mt7621_edimax_rx21s.dtsi"
/ {
compatible = "edimax,ra21s", "mediatek,mt7621-soc";
model = "Edimax RA21S";
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
leds {
compatible = "gpio-leds";
led_power: led_1 {
label = "ra21s:red:led1";
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
};
led_2 {
label = "ra21s:red:led2";
gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
};
led_3 {
label = "ra21s:red:led3";
gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
};
led_4 {
label = "ra21s:red:led4";
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
};
};
};