mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
ODROID-COMMON: arm64/dts: Extract spidev node from main dts to spi0 dtbo
Signed-off-by: Deokgyu Yang <secugyu@gmail.com> Change-Id: I2ceb31b971970b96e0113e528b4c174d81d35258
This commit is contained in:
committed by
Dongjin Kim
parent
9b5af4049f
commit
b15333e5d1
@@ -975,15 +975,6 @@
|
||||
|
||||
cs-gpios = <&gpio GPIOX_10 GPIO_ACTIVE_LOW>,
|
||||
<&gpio GPIOH_6 GPIO_ACTIVE_LOW>;
|
||||
|
||||
spidev: spidev@0 {
|
||||
status = "disabled";
|
||||
|
||||
compatible = "linux,spidev";
|
||||
/* spi default max clock 100Mhz */
|
||||
spi-max-frequency = <100000000>;
|
||||
reg = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c2 {
|
||||
|
||||
@@ -740,14 +740,6 @@
|
||||
|
||||
cs-gpios = <&gpio GPIOX_10 GPIO_ACTIVE_LOW>,
|
||||
<&gpio GPIOA_4 GPIO_ACTIVE_LOW>;
|
||||
|
||||
spidev: spidev@0 {
|
||||
status = "disabled";
|
||||
compatible = "linux,spidev";
|
||||
reg = <0>;
|
||||
/* spi default max clock 100Mhz */
|
||||
spi-max-frequency = <100000000>;
|
||||
};
|
||||
};
|
||||
|
||||
&spifc {
|
||||
|
||||
@@ -7,14 +7,17 @@
|
||||
|
||||
__overlay__ {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
fragment@1 {
|
||||
target = <&spidev>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
__overlay__ {
|
||||
status = "okay";
|
||||
spidev: spidev@0 {
|
||||
status = "okay";
|
||||
compatible = "linux,spidev";
|
||||
reg = <0>;
|
||||
/* spi default max clock 100Mhz */
|
||||
spi-max-frequency = <100000000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-bindings/gpio/meson-g12a-gpio.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
||||
/ {
|
||||
fragment@0 {
|
||||
target = <&spicc0>;
|
||||
|
||||
__overlay__ {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
fragment@1 {
|
||||
target = <&spidev>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
__overlay__ {
|
||||
status = "okay";
|
||||
spidev: spidev@0 {
|
||||
status = "okay";
|
||||
compatible = "linux,spidev";
|
||||
reg = <0>;
|
||||
/* spi default max clock 100Mhz */
|
||||
spi-max-frequency = <100000000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user