target/realtek: refactor

This commit is contained in:
jjm2473 2022-09-30 16:14:12 +08:00
parent e87f6f0cab
commit f8c5c60559
4 changed files with 11 additions and 4 deletions

View File

@ -944,8 +944,8 @@
rtk-gpio-regulator {
compatible = "rtkgpio-regulator";
gpios = <&rtk_iso_gpio 16 1 0>, <&rtk_iso_gpio 17 1 1>;
//status = "disabled";
status = "okay";
status = "disabled";
//status = "okay";
vdd: rtkgpio_regulator {
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1050000>;

View File

@ -161,6 +161,12 @@
log_check_period = <500>; /* ms */
};
};
irda@98007400 {
status = "disabled";
};
sdio@98010A00 {
status = "disabled";
};
sdmmc@98010400 {
status = "disabled";
};

View File

@ -40,7 +40,7 @@ define Build/install.img
echo "RESET000" | dd bs=512 count=1 conv=sync > "$@.install/etc.bin"
rtd129x_img_gen ./config/emmc_8gb.json "$@.install"
rtd129x_img_gen ./config/$(STORAGE_LAYOUT).json "$@.install"
rm -f "$@"
cd "$@.install"; $(TAR) -cf "$@" `ls`
@ -66,7 +66,7 @@ define Device/Default
IMAGE_NAME = $$(IMAGE_PREFIX)-$$(1).$$(2)
endef
DEVICE_VARS += HWSETTING UBOOT_DTS
DEVICE_VARS += HWSETTING UBOOT_DTS STORAGE_LAYOUT
include rtd129x.mk

View File

@ -28,6 +28,7 @@ define Device/rtd129x
DEVICE_PACKAGES += libustream-openssl ca-bundle ca-certificates
DEVICE_PACKAGES += luci-lib-ipkg ipset
UBOOT_DTS := ars2
STORAGE_LAYOUT := emmc_8gb
endef
define Device/ars2