mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
ODROID-N2/C4: dtb/dtbo: Add spi overlay
Signed-off-by: steve.jeong <jkhpro1003@gmail.com> Change-Id: Ice09457178d84b2f7e98c0ad6525476b835e537b
This commit is contained in:
committed by
Mauro (mdrjr) Ribeiro
parent
6f901580b7
commit
f8e5099afe
@@ -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 {
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
serial3 = &uart_C;
|
||||
serial4 = &uart_AO_B;
|
||||
ethernet0 = ðmac;
|
||||
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";
|
||||
};
|
||||
|
||||
@@ -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>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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>;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user