mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-05-01 05:41:36 +08:00
rockchip: add support for mangopi m28c v1.6
Warning: These changes will be reverted!
This commit is contained in:
parent
2c32c4034a
commit
0a942ade22
@ -52,8 +52,6 @@
|
||||
compatible = "regulator-fixed";
|
||||
gpio = <&gpio4 RK_PA1 GPIO_ACTIVE_LOW>;
|
||||
regulator-name = "vcc3v3_sd";
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
vin-supply = <&vcc_3v3>;
|
||||
@ -262,9 +260,6 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdmmc_bus4 &sdmmc_clk &sdmmc_cmd &sdmmc_det>;
|
||||
rockchip,default-sample-phase = <90>;
|
||||
sd-uhs-sdr12;
|
||||
sd-uhs-sdr25;
|
||||
sd-uhs-sdr50;
|
||||
sd-uhs-sdr104;
|
||||
vmmc-supply = <&vcc3v3_sd>;
|
||||
vqmmc-supply = <&vccio_sd>;
|
||||
|
@ -16,17 +16,6 @@
|
||||
led-upgrade = &led_work;
|
||||
};
|
||||
|
||||
keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
rfkill {
|
||||
label = "rfkill";
|
||||
linux,code = <KEY_RFKILL>;
|
||||
debounce-interval = <100>;
|
||||
gpios = <&gpio4 RK_PB0 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
@ -38,7 +27,7 @@
|
||||
};
|
||||
|
||||
led_work: work {
|
||||
label = "red:work";
|
||||
label = "blue:work";
|
||||
gpios = <&gpio4 RK_PB7 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
@ -64,3 +53,15 @@
|
||||
&sdhci {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
/* New version also changes vmmc-supply to vcc_3v3,
|
||||
* but needs to be compatible with old hardware. */
|
||||
&sdmmc {
|
||||
max-frequency = <50000000>;
|
||||
/delete-property/ sd-uhs-sdr104;
|
||||
vqmmc-supply = <&vcc_3v3>;
|
||||
};
|
||||
|
||||
&vccio_sd {
|
||||
status = "disabled";
|
||||
};
|
||||
|
@ -576,13 +576,13 @@ define Device/widora_mangopi-m28
|
||||
SOC := rk3528
|
||||
UBOOT_DEVICE_NAME := generic-rk3528
|
||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script rk3528 | pine64-img | gzip | append-metadata
|
||||
DEVICE_PACKAGES := kmod-aic8800s kmod-r8168 wpad-openssl -urngd
|
||||
DEVICE_PACKAGES := kmod-aic8800s wpad-openssl -urngd
|
||||
endef
|
||||
|
||||
define Device/widora_mangopi-m28c
|
||||
$(call Device/widora_mangopi-m28)
|
||||
DEVICE_MODEL := MangoPi M28C
|
||||
DEVICE_PACKAGES += kmod-gpio-button-hotplug kmod-usb-serial-option
|
||||
DEVICE_PACKAGES += kmod-usb-serial-option
|
||||
endef
|
||||
TARGET_DEVICES += widora_mangopi-m28c
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user