39 lines
580 B
Plaintext
39 lines
580 B
Plaintext
/dts-v1/;
|
|
/plugin/;
|
|
|
|
/ {
|
|
compatible = "allwinner,sun5i-a13";
|
|
|
|
fragment@0 {
|
|
target-path = "/aliases";
|
|
__overlay__ {
|
|
spi0 = "/soc/spi@1c05000";
|
|
};
|
|
};
|
|
|
|
fragment@1 {
|
|
target = <&pio>;
|
|
__overlay__ {
|
|
spi0_pins_a: spi0@0 {
|
|
pins = "PC0", "PC1", "PC2";
|
|
function = "spi0";
|
|
};
|
|
|
|
spi0_cs0_pins_a: spi0-cs0@0 {
|
|
pins = "PC3";
|
|
function = "spi0";
|
|
};
|
|
};
|
|
};
|
|
|
|
fragment@2 {
|
|
target = <&spi0>;
|
|
__overlay__ {
|
|
status = "okay";
|
|
pinctrl-names = "default", "default";
|
|
pinctrl-0 = <&spi0_pins_a>;
|
|
pinctrl-1 = <&spi0_cs0_pins_a>;
|
|
};
|
|
};
|
|
};
|