qualcommax: cleanup device tree for GL-B3000

Remove extra blank lines.
Fixes typo for label and status.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: https://github.com/openwrt/openwrt/pull/19400
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Chukun Pan
2025-07-08 22:20:19 +08:00
committed by Robert Marko
parent 9b5d055076
commit b5acf84635

View File

@@ -9,7 +9,7 @@
/ { / {
model = "GL.iNet GL-B3000"; model = "GL.iNet GL-B3000";
compatible ="glinet,gl-b3000", "qcom,ipq5018"; compatible = "glinet,gl-b3000", "qcom,ipq5018";
aliases { aliases {
ethernet1 = &dp2; ethernet1 = &dp2;
@@ -31,7 +31,7 @@
pinctrl-0 = <&button_pins>; pinctrl-0 = <&button_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
button_reset { button-reset {
label = "reset"; label = "reset";
gpios = <&tlmm 27 GPIO_ACTIVE_LOW>; gpios = <&tlmm 27 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
@@ -43,23 +43,20 @@
pinctrl-0 = <&leds_pins>; pinctrl-0 = <&leds_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
led_system_blue: led_system_blue { led_system_blue: system-blue {
color = <LED_COLOR_ID_BLUE>; color = <LED_COLOR_ID_BLUE>;
function = LED_FUNCTION_POWER; function = LED_FUNCTION_STATUS;
gpio = <&tlmm 24 GPIO_ACTIVE_HIGH>; gpio = <&tlmm 24 GPIO_ACTIVE_HIGH>;
default-state = "on";
}; };
led_status_white: led_status_white { led_status_white: status-white {
color = <LED_COLOR_ID_WHITE>; color = <LED_COLOR_ID_WHITE>;
function = LED_FUNCTION_POWER; function = LED_FUNCTION_STATUS;
gpio = <&tlmm 23 GPIO_ACTIVE_HIGH>; gpio = <&tlmm 23 GPIO_ACTIVE_HIGH>;
default-state = "off";
}; };
}; };
reserved-memory { reserved-memory {
q6_mem_regions: q6_mem_regions@4b000000 { q6_mem_regions: q6_mem_regions@4b000000 {
no-map; no-map;
reg = <0x0 0x4b000000 0x0 0x3000000>; reg = <0x0 0x4b000000 0x0 0x3000000>;
@@ -72,7 +69,6 @@
switch_mac_mode = <MAC_MODE_SGMII_CHANNEL0>; switch_mac_mode = <MAC_MODE_SGMII_CHANNEL0>;
qcom,port_phyinfo { qcom,port_phyinfo {
// MAC0 -> GE Phy -> QCA8337 Phy2 // MAC0 -> GE Phy -> QCA8337 Phy2
port@0 { port@0 {
port_id = <1>; port_id = <1>;
@@ -189,9 +185,9 @@
}; };
&blsp1_uart1 { &blsp1_uart1 {
status = "okay";
pinctrl-0 = <&serial_0_pins>; pinctrl-0 = <&serial_0_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
status = "okay";
}; };
&crypto { &crypto {
@@ -256,7 +252,6 @@
&tlmm { &tlmm {
mdio1_pins: mdio-state { mdio1_pins: mdio-state {
mdc-pins { mdc-pins {
pins = "gpio36"; pins = "gpio36";
function = "mdc"; function = "mdc";
@@ -287,7 +282,6 @@
}; };
qpic_pins: qpic-state { qpic_pins: qpic-state {
clock-pins { clock-pins {
pins = "gpio9"; pins = "gpio9";
function = "qspi_clk"; function = "qspi_clk";
@@ -311,9 +305,7 @@
}; };
serial_0_pins: uart0-state { serial_0_pins: uart0-state {
pins = pins = "gpio20", "gpio21";
"gpio20", // RX
"gpio21"; // TX
function = "blsp0_uart0"; function = "blsp0_uart0";
drive-strength = <8>; drive-strength = <8>;
bias-disable; bias-disable;