mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
8226c8d306
This commit: 1. Removes deprecated "label" property from the dts leds subnnodes; 2. Updates buttons and leds dts description according to kernel docs examples. Scope: devices well known to me. Run-tested: TP-Link ec330-g5u, WiFire S1500.nbn Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
88 lines
1.5 KiB
Plaintext
88 lines
1.5 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#include "mt7621_sercomm_s1500.dtsi"
|
|
|
|
/ {
|
|
compatible = "wifire,s1500-nbn", "mediatek,mt7621-soc";
|
|
model = "WiFire S1500.NBN";
|
|
|
|
aliases {
|
|
label-mac-device = &wan;
|
|
};
|
|
|
|
ubi-concat {
|
|
compatible = "mtd-concat";
|
|
devices = <&ubiconcat0 &ubiconcat1 &ubiconcat2 &ubiconcat3>;
|
|
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
partition@0 {
|
|
label = "ubi";
|
|
reg = <0x0 0x4680000>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&led_wps {
|
|
color = <LED_COLOR_ID_WHITE>;
|
|
};
|
|
|
|
&partitions {
|
|
partition@0_all {
|
|
label = "ALL";
|
|
reg = <0x0 0x7f80000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@80000 {
|
|
label = "u-boot-env";
|
|
reg = <0x80000 0x20000>;
|
|
};
|
|
|
|
ubiconcat1: partition@200000 {
|
|
label = "sys_data";
|
|
reg = <0x200000 0x1400000>;
|
|
};
|
|
|
|
ubiconcat0: partition@1f00000 {
|
|
label = "RootFS_1";
|
|
reg = <0x1f00000 0x2e00000>;
|
|
};
|
|
|
|
partition@4d00000 {
|
|
label = "RootFS_2";
|
|
reg = <0x4d00000 0x2e00000>;
|
|
read-only;
|
|
};
|
|
|
|
ubiconcat2: partition@7b00000 {
|
|
label = "Ftool";
|
|
reg = <0x7b00000 0x100000>;
|
|
};
|
|
|
|
ubiconcat3: partition@7c00000 {
|
|
label = "BCT";
|
|
reg = <0x7c00000 0x380000>;
|
|
};
|
|
|
|
/*
|
|
* 512 KiB reserved for the Bad Blocks
|
|
* 0x8000000-0x7f80000=0x80000
|
|
*/
|
|
};
|
|
|
|
&pcie1 {
|
|
wlan_2g: wifi@0,0 {
|
|
compatible = "mediatek,mt76";
|
|
reg = <0x0000 0 0 0 0>;
|
|
ieee80211-freq-limit = <2400000 2500000>;
|
|
|
|
nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_1000 1>;
|
|
nvmem-cell-names = "eeprom", "mac-address";
|
|
};
|
|
};
|