X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Fath79%2Fdts%2Far9344_tplink_cpe.dtsi;h=fd6aa0f08bef73b9557728c96547e0a91e205464;hp=27a8d0aa13a4353be20c22630f64f58b2dd93258;hb=7a4bd9cc518933d61099f109ce050c03afdc1c83;hpb=231dc26867b4619364b91bc310e124ac846000b8 diff --git a/target/linux/ath79/dts/ar9344_tplink_cpe.dtsi b/target/linux/ath79/dts/ar9344_tplink_cpe.dtsi index 27a8d0aa13..fd6aa0f08b 100644 --- a/target/linux/ath79/dts/ar9344_tplink_cpe.dtsi +++ b/target/linux/ath79/dts/ar9344_tplink_cpe.dtsi @@ -1,9 +1,10 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT +#include "ar9344.dtsi" + #include #include - -#include "ar9344.dtsi" +#include / { aliases { @@ -25,15 +26,9 @@ clock-frequency = <40000000>; }; -&uart { - status = "okay"; -}; - &spi { status = "okay"; - num-cs = <1>; - flash@0 { compatible = "jedec,spi-nor"; reg = <0>; @@ -65,20 +60,9 @@ partition@40000 { label = "firmware"; reg = <0x040000 0x780000>; - - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - label = "kernel"; - reg = <0x000000 0x200000>; - }; - - partition@200000 { - label = "rootfs"; - reg = <0x200000 0x580000>; - }; + compatible = "openwrt,uimage", "denx,uimage"; + openwrt,ih-magic = ; + openwrt,offset = <0x3000>; }; partition@7c0000 { @@ -100,7 +84,7 @@ status = "okay"; mtd-cal-data = <&art 0x1000>; - mtd-mac-address = <&info 0x08>; + mtd-mac-address = <&info 0x8>; }; ð0 { @@ -110,3 +94,23 @@ mtd-mac-address = <&info 0x8>; }; + +ð1 { + status = "okay"; +}; + +&gpio { + gpio_ext_lna0 { + gpio-hog; + gpios = <18 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "tp-link:ext:lna0"; + }; + + gpio_ext_lna1 { + gpio-hog; + gpios = <19 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "tp-link:ext:lna1"; + }; +};