dts: fix syntax error

Signed-off-by: Jianhui Zhao <jianhui.zhao@gl-inet.com>
This commit is contained in:
Jianhui Zhao 2022-01-24 11:28:52 +08:00
parent 5270ea6e41
commit 3d9c892740
3 changed files with 21 additions and 50 deletions

View File

@ -18,19 +18,19 @@
#include "qcom-ipq6018-gl-ax1800.dtsi" #include "qcom-ipq6018-gl-ax1800.dtsi"
/ { / {
compatible = "glinet,axt1800", "qcom,ipq6018-cp03", "qcom,ipq6018"; compatible = "glinet,ax1800", "qcom,ipq6018-cp03", "qcom,ipq6018";
aliases { aliases {
ethernet3 = "/soc/dp4"; ethernet3 = "/soc/dp4";
ethernet4 = "/soc/dp5"; ethernet4 = "/soc/dp5";
}; };
};
gl_hw { &gl_hw {
model = "axt1800"; model = "ax1800";
lan = "eth1 eth2 eth3 eth4"; lan = "eth1 eth2 eth3 eth4";
usb-port = "1-1"; usb-port = "1-1";
}; };
};
&mdio0 { &mdio0 {
phy3: ethernet-phy@3 { phy3: ethernet-phy@3 {

View File

@ -1,6 +1,5 @@
/dts-v1/;
/* /*
* Copyright (c) 2019, The Linux Foundation. All rights reserved. * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
* *
* Permission to use, copy, modify, and/or distribute this software for any * Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above * purpose with or without fee is hereby granted, provided that the above
@ -17,11 +16,11 @@
#include "qcom-ipq6018.dtsi" #include "qcom-ipq6018.dtsi"
#include <dt-bindings/input/input.h> #include <dt-bindings/input/input.h>
/ { / {
#address-cells = <0x2>; #address-cells = <0x2>;
#size-cells = <0x2>; #size-cells = <0x2>;
model = "Qualcomm Technologies, Inc. IPQ6018/AP-CP03-C1"; model = "Qualcomm Technologies, Inc. IPQ6018/AP-CP03-C1";
compatible = "glinet,axt1800", "qcom,ipq6018-cp03", "qcom,ipq6018";
interrupt-parent = <&intc>; interrupt-parent = <&intc>;
qcom,msm-id = <0x1A5 0x0>; qcom,msm-id = <0x1A5 0x0>;
@ -34,8 +33,6 @@
led-failsafe = &led_run; led-failsafe = &led_run;
led-running = &led_run; led-running = &led_run;
led-upgrade = &led_run; led-upgrade = &led_run;
sdhc = &sdhc_1;
}; };
chosen { chosen {
@ -43,7 +40,7 @@
bootargs-append = " swiotlb=1 coherent_pool=2M console=ttyMSM0,115200,n8"; bootargs-append = " swiotlb=1 coherent_pool=2M console=ttyMSM0,115200,n8";
}; };
gl_hw { gl_hw: gl_hw {
compatible = "gl-hw-info"; compatible = "gl-hw-info";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
@ -60,32 +57,6 @@
country_code = "0:ART", "0x98"; country_code = "0:ART", "0x98";
}; };
}; };
/*
* +=========+==============+========================+
* | | | |
* | Region | Start Offset | Size |
* | | | |
* +--------+--------------+-------------------------+
* | | | |
* | | | |
* | | | |
* | | | |
* | Linux | 0x41000000 | 139MB |
* | | | |
* | | | |
* | | | |
* +--------+--------------+-------------------------+
* | TZ App | 0x49B00000 | 6MB |
* +--------+--------------+-------------------------+
*
* From the available 145 MB for Linux in the first 256 MB,
* we are reserving 6 MB for TZAPP.
*
* Refer arch/arm64/boot/dts/qcom/qcom-ipq6018-memory.dtsi
* for memory layout.
*/
}; };
&tlmm { &tlmm {

View File

@ -23,13 +23,13 @@
aliases { aliases {
sdhc = &sdhc_1; sdhc = &sdhc_1;
}; };
};
gl_hw { &gl_hw {
model = "axt1800"; model = "axt1800";
lan = "eth1 eth2"; lan = "eth1 eth2";
usb-port = "1-1"; usb-port = "1-1";
}; };
};
&leds_pins { &leds_pins {
pwm_pwr { pwm_pwr {