ax1800/axt1800: fix dts file format

Signed-off-by: Jianhui Zhao <jianhui.zhao@gl-inet.com>
This commit is contained in:
Jianhui Zhao 2022-02-10 11:39:03 +08:00
parent f64ea39646
commit c4f51cfc55
3 changed files with 14 additions and 17 deletions

View File

@ -18,6 +18,7 @@
#include "qcom-ipq6018-gl-ax1800.dtsi" #include "qcom-ipq6018-gl-ax1800.dtsi"
/ { / {
model = "GL Technologies, Inc. AX1800";
compatible = "glinet,ax1800", "qcom,ipq6018-cp03", "qcom,ipq6018"; compatible = "glinet,ax1800", "qcom,ipq6018-cp03", "qcom,ipq6018";
aliases { aliases {

View File

@ -20,7 +20,6 @@
/ { / {
#address-cells = <0x2>; #address-cells = <0x2>;
#size-cells = <0x2>; #size-cells = <0x2>;
model = "Qualcomm Technologies, Inc. IPQ6018/AP-CP03-C1";
interrupt-parent = <&intc>; interrupt-parent = <&intc>;
qcom,msm-id = <0x1A5 0x0>; qcom,msm-id = <0x1A5 0x0>;
@ -37,7 +36,7 @@
chosen { chosen {
bootargs = "console=ttyMSM0,115200,n8 rw init=/init"; bootargs = "console=ttyMSM0,115200,n8 rw init=/init";
bootargs-append = " swiotlb=1 coherent_pool=2M console=ttyMSM0,115200,n8"; bootargs-append = " swiotlb=1 coherent_pool=2M";
}; };
gl_hw: gl_hw { gl_hw: gl_hw {
@ -163,7 +162,7 @@
}; };
leds_pins: leds_pins { leds_pins: leds_pins {
led_run: white { white {
pins = "gpio35"; pins = "gpio35";
function = "gpio"; function = "gpio";
drive-strength = <8>; drive-strength = <8>;
@ -187,7 +186,7 @@
mdio0: mdio@90000 { mdio0: mdio@90000 {
pinctrl-0 = <&mdio_pins>; pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
phy-reset-gpio = <&tlmm 74 0>; phy-reset-gpio = <&tlmm 74 GPIO_ACTIVE_HIGH>;
status = "ok"; status = "ok";
phy0: ethernet-phy@0 { phy0: ethernet-phy@0 {
reg = <0>; reg = <0>;
@ -265,7 +264,7 @@
pinctrl-0 = <&leds_pins>; pinctrl-0 = <&leds_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
white { led_run: white {
label = "white_led"; label = "white_led";
gpios = <&tlmm 35 GPIO_ACTIVE_HIGH>; gpios = <&tlmm 35 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
@ -381,7 +380,3 @@
>; >;
clock-latency = <200000>; clock-latency = <200000>;
}; };
&nss0 {
//qcom,max-frequency = <1689600000>;
};

View File

@ -18,6 +18,7 @@
#include "qcom-ipq6018-gl-ax1800.dtsi" #include "qcom-ipq6018-gl-ax1800.dtsi"
/ { / {
model = "GL Technologies, Inc. AXT1800";
compatible = "glinet,axt1800", "qcom,ipq6018-cp03", "qcom,ipq6018"; compatible = "glinet,axt1800", "qcom,ipq6018-cp03", "qcom,ipq6018";
aliases { aliases {