ODROID-N2/C4: dtb/dtbo: Add spi overlay

Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: Ice09457178d84b2f7e98c0ad6525476b835e537b
This commit is contained in:
steve.jeong
2022-07-20 17:54:29 +09:00
committed by Mauro (mdrjr) Ribeiro
parent 6f901580b7
commit f8e5099afe
4 changed files with 18 additions and 14 deletions

View File

@@ -372,17 +372,8 @@
&spicc0 {
status = "disabled";
pinctrl-names = "default";
pinctrl-0 = <&spicc0_x_pins>;
spidev@0 {
status = "okay";
compatible = "linux,spidev";
reg = <0>;
spi-max-frequency = <100000000>;
};
pinctrl-0 = <&spicc0_ss0_x_pins &spicc0_x_pins>;
};
&uart_A {

View File

@@ -21,6 +21,7 @@
serial3 = &uart_C;
serial4 = &uart_AO_B;
ethernet0 = &ethmac;
spi0 = &spicc0;
};
chosen {
@@ -446,6 +447,12 @@
vqmmc-supply = <&flash_1v8>;
};
&spicc0 {
status = "disabled";
pinctrl-names = "default";
pinctrl-0 = <&spicc0_ss0_x_pins &spicc0_x_pins>;
};
&tdmif_b {
status = "okay";
};

View File

@@ -10,10 +10,13 @@
__overlay__ {
status = "okay";
cs-gpios = <&gpio GPIOX_10 GPIO_ACTIVE_LOW>;
#address-cells = <1>;
#size-cells = <0>;
spidev: spidev@0 {
status = "okay";
compatible = "odroid,spi-dev";
reg = <0>;
spi-max-frequency = <100000000>;
};
};

View File

@@ -10,10 +10,13 @@
__overlay__ {
status = "okay";
cs-gpios = <&gpio GPIOX_10 GPIO_ACTIVE_LOW>;
#address-cells = <1>;
#size-cells = <0>;
spidev: spidev@0 {
status = "okay";
compatible = "odroid,spi-dev";
reg = <0>;
spi-max-frequency = <100000000>;
};
};