33 lines
616 B
Plaintext
33 lines
616 B
Plaintext
/dts-v1/;
|
|
/plugin/;
|
|
|
|
/ {
|
|
metadata {
|
|
title = "Enable spidev on SPI1-M1 over CS1";
|
|
compatible = "radxa,rock-5b";
|
|
category = "misc";
|
|
exclusive = "GPIO3_C3", "GPIO3_C1", "GPIO3_B7", "GPIO3_C0";
|
|
description = "Enable spidev on SPI1-M1 over CS1.";
|
|
};
|
|
|
|
fragment@0 {
|
|
target = <&spi1>;
|
|
|
|
__overlay__ {
|
|
status = "okay";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&spi1m1_cs1 &spi1m1_pins>;
|
|
max-freq = <50000000>;
|
|
|
|
spidev@1 {
|
|
compatible = "rockchip,spidev";
|
|
status = "okay";
|
|
reg = <1>;
|
|
spi-max-frequency = <50000000>;
|
|
};
|
|
};
|
|
};
|
|
};
|