ipq806x/4.19: fix error dts for m520

Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
This commit is contained in:
AmadeusGhost 2020-04-15 09:35:18 +08:00
parent 96e1776a85
commit ce149a86b9
3 changed files with 21 additions and 54 deletions

View File

@ -147,24 +147,6 @@ define Device/asus_rt-ac58u
endef
TARGET_DEVICES += asus_rt-ac58u
define Device/asus_rt-ac1300uhp
$(call Device/FitImageLzma)
DEVICE_VENDOR := ASUS
DEVICE_MODEL := RT-AC1300UHP
DEVICE_DTS := qcom-ipq4018-rt-ac58u
BLOCKSIZE := 128k
PAGESIZE := 2048
DTB_SIZE := 65536
IMAGE_SIZE := 20439364
FILESYSTEMS := squashfs
UIMAGE_NAME:=$(shell echo -e '\03\01\01\01RT-AC58U')
KERNEL_INITRAMFS := $$(KERNEL) | uImage none
KERNEL_INITRAMFS_SUFFIX := -factory.trx
IMAGES := sysupgrade.bin
DEVICE_PACKAGES := kmod-usb-ledtrig-usbport
endef
TARGET_DEVICES += asus_rt-ac1300uhp
define Device/asus_rt-acrh17
$(call Device/FitImageLzma)
DEVICE_VENDOR := ASUS

View File

@ -136,10 +136,10 @@
gsbi2: gsbi@12480000 {
qcom,mode = <GSBI_PROT_I2C_UART>;
status = "ok";
status = "okay";
i2c@124a0000 {
status = "ok";
status = "okay";
lm75@48 {
status = "okay";
@ -157,9 +157,9 @@
gsbi@16300000 {
qcom,mode = <GSBI_PROT_I2C_UART>;
status = "ok";
status = "okay";
serial@16340000 {
status = "ok";
status = "okay";
};
/*
* The i2c device on gsbi4 should not be enabled.
@ -171,10 +171,10 @@
gsbi5: gsbi@1a200000 {
qcom,mode = <GSBI_PROT_SPI>;
status = "ok";
status = "okay";
spi4: spi@1a280000 {
status = "ok";
status = "okay";
pinctrl-0 = <&spi_pins>;
pinctrl-names = "default";
@ -264,47 +264,31 @@
};
sata-phy@1b400000 {
status = "ok";
status = "okay";
};
sata@29000000 {
ports-implemented = <0x1>;
status = "ok";
status = "okay";
};
phy@100f8800 { /* USB3 port 1 HS phy */
status = "ok";
usb3_0: usb3@110f8800 {
status = "okay";
};
phy@100f8830 { /* USB3 port 1 SS phy */
status = "ok";
};
phy@110f8800 { /* USB3 port 0 HS phy */
status = "ok";
};
phy@110f8830 { /* USB3 port 0 SS phy */
status = "ok";
};
usb30@0 {
status = "ok";
};
usb30@1 {
status = "ok";
usb3_1: usb3@100f8800 {
status = "okay";
};
pcie0: pci@1b500000 {
status = "ok";
status = "okay";
reset-gpio = <&qcom_pinmux 3 GPIO_ACTIVE_LOW>;
pinctrl-0 = <&pcie0_pins>;
pinctrl-names = "default";
};
pcie1: pci@1b700000 {
status = "ok";
status = "okay";
reset-gpio = <&qcom_pinmux 48 GPIO_ACTIVE_LOW>;
pinctrl-0 = <&pcie1_pins>;
pinctrl-names = "default";
@ -315,7 +299,8 @@
compatible = "virtual,mdio-gpio";
#address-cells = <1>;
#size-cells = <0>;
gpios = <&qcom_pinmux 1 GPIO_ACTIVE_HIGH &qcom_pinmux 0 GPIO_ACTIVE_HIGH>;
gpios = <&qcom_pinmux 1 GPIO_ACTIVE_HIGH>,
<&qcom_pinmux 0 GPIO_ACTIVE_HIGH>;
pinctrl-0 = <&mdio0_pins>;
pinctrl-names = "default";
@ -338,7 +323,7 @@
};
gmac1: ethernet@37200000 {
status = "ok";
status = "okay";
phy-mode = "rgmii";
qcom,id = <1>;
@ -354,7 +339,7 @@
};
gmac2: ethernet@37400000 {
status = "ok";
status = "okay";
phy-mode = "sgmii";
qcom,id = <2>;
@ -391,5 +376,5 @@
};
&adm_dma {
status = "ok";
status = "okay";
};

View File

@ -275,8 +275,8 @@ define Device/ruijie_rg-mtfi-m520
IMAGE/sysupgrade.bin/squashfs := append-rootfs | pad-to $$$${BLOCKSIZE} | sysupgrade-tar rootfs=$$$$@ | append-metadata
IMAGE/mmcblk0p2-kernel.bin := append-kernel | pad-to $$$${KERNEL_SIZE}
IMAGE/mmcblk0p3-rootfs.bin := append-rootfs | pad-rootfs
DEVICE_PACKAGES := ath10k-firmware-qca988x-ct blockd e2fsprogs f2fs-tools \
kmod-hwmon-lm75 kmod-fs-ext4 kmod-fs-f2fs kmod-rtc-pcf8563 kmod-usb-serial losetup
DEVICE_PACKAGES := ath10k-firmware-qca988x-ct e2fsprogs f2fs-tools \
kmod-hwmon-lm75 kmod-fs-ext4 kmod-fs-f2fs kmod-rtc-pcf8563 losetup
endef
TARGET_DEVICES += ruijie_rg-mtfi-m520