fix bug
This commit is contained in:
parent
3144d96606
commit
e4bcbc0712
@ -184,7 +184,7 @@
|
||||
};
|
||||
|
||||
mmc2_pins: mmc2-pins {
|
||||
pins = "PC1", "PC5", "PC6",
|
||||
pins = "PC0", "PC1", "PC5", "PC6",
|
||||
"PC8", "PC9", "PC10", "PC11",
|
||||
"PC13", "PC14", "PC15", "PC16";
|
||||
function = "mmc2";
|
||||
@ -192,11 +192,9 @@
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
mmc2_ds_pin: mmc2-ds-pin {
|
||||
pins = "PC0";
|
||||
function = "mmc2";
|
||||
drive-strength = <30>;
|
||||
bias-pull-up;
|
||||
spi0_pins: spi0-pins {
|
||||
pins = "PC0", "PC2", "PC3", "PC4";
|
||||
function = "spi0";
|
||||
};
|
||||
|
||||
spi1_pins: spi1-pins {
|
||||
@ -290,10 +288,10 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&mmc2_pins>;
|
||||
status = "disabled";
|
||||
max-frequency = <150000000>;
|
||||
cap-sd-highspeed;
|
||||
cap-mmc-highspeed;
|
||||
mmc-ddr-3_3v;
|
||||
mmc-ddr-1_8v;
|
||||
cap-sdio-irq;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@ -427,6 +425,21 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
spi0: spi@5010000 {
|
||||
compatible = "allwinner,sun50i-h616-spi",
|
||||
"allwinner,sun8i-h3-spi";
|
||||
reg = <0x05010000 0x1000>;
|
||||
interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&ccu CLK_BUS_SPI0>, <&ccu CLK_SPI0>;
|
||||
clock-names = "ahb", "mod";
|
||||
resets = <&ccu RST_BUS_SPI0>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&spi0_pins>;
|
||||
status = "disabled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
spi1: spi@5011000 {
|
||||
compatible = "allwinner,sun50i-h616-spi",
|
||||
"allwinner,sun8i-h3-spi";
|
||||
@ -722,4 +735,4 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user