sunxi: dts: enable SPI0 controller for A20 OLinuXino LIME 2
This commit is contained in:
parent
a7944dcc11
commit
6c1495d161
1 changed files with 14 additions and 0 deletions
|
|
@ -53,6 +53,7 @@
|
|||
|
||||
aliases {
|
||||
serial0 = &uart0;
|
||||
spi0 = &spi0;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
|
@ -91,6 +92,19 @@
|
|||
};
|
||||
};
|
||||
|
||||
&pio {
|
||||
spi0_pins: pinctrl {
|
||||
pins = "PC0", "PC1", "PC2", "PC23";
|
||||
drive-strength = <10>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
pinctrl-0 = <&spi0_pins>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ahci {
|
||||
target-supply = <®_ahci_5v>;
|
||||
status = "okay";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue