mirror of
https://github.com/FUjr/gl-infra-builder.git
synced 2025-12-18 10:04:14 +00:00
axt1800: dts: fix sdhc
Signed-off-by: Jianhui Zhao <jianhui.zhao@gl-inet.com>
This commit is contained in:
parent
957908cda8
commit
5656752852
@ -21,7 +21,7 @@
|
|||||||
compatible = "glinet,axt1800", "qcom,ipq6018-cp03", "qcom,ipq6018";
|
compatible = "glinet,axt1800", "qcom,ipq6018-cp03", "qcom,ipq6018";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
sdhc = &sdhc_1;
|
sdhc0 = &sdhc_2;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -37,11 +37,6 @@
|
|||||||
function = "gpio";
|
function = "gpio";
|
||||||
bias-pull-up;
|
bias-pull-up;
|
||||||
};
|
};
|
||||||
sd_pwr {
|
|
||||||
pins = "gpio66";
|
|
||||||
function = "gpio";
|
|
||||||
bias-pull-up;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&tlmm {
|
&tlmm {
|
||||||
@ -52,8 +47,8 @@
|
|||||||
bias-pull-up;
|
bias-pull-up;
|
||||||
};
|
};
|
||||||
mux_1 {
|
mux_1 {
|
||||||
pins = "gpio63";
|
pins = "gpio66";
|
||||||
function = "sd_write";
|
function = "gpio";
|
||||||
bias-pull-up;
|
bias-pull-up;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -77,12 +72,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&leds {
|
&leds {
|
||||||
sd_pwr {
|
|
||||||
label = "sd-pwr";
|
|
||||||
gpios = <&tlmm 66 GPIO_ACTIVE_HIGH>;
|
|
||||||
default-state = "on";
|
|
||||||
};
|
|
||||||
|
|
||||||
fan_pwr {
|
fan_pwr {
|
||||||
label = "fan-pwr";
|
label = "fan-pwr";
|
||||||
gpios = <&tlmm 29 GPIO_ACTIVE_HIGH>;
|
gpios = <&tlmm 29 GPIO_ACTIVE_HIGH>;
|
||||||
@ -110,8 +99,10 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&sdhc_1 {
|
&sdhc_2 {
|
||||||
pinctrl-0 = <&sd_pins>;
|
pinctrl-0 = <&sd_pins>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
cd-gpios = <&tlmm 62 1>;
|
||||||
|
sd-ldo-gpios = <&tlmm 66 1>;
|
||||||
status = "ok";
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user