mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
ODROID-COMMON: arm64/dts: move onewire node to each overlay directory
Change-Id: Id0262986d0faceba5997e8bff9d89833aff8f5a0
This commit is contained in:
committed by
Dongjin Kim
parent
417b4ec804
commit
1ccf10d7d5
@@ -766,11 +766,6 @@
|
||||
gpio-reset {
|
||||
/delete-node/ usb_hub_en;
|
||||
};
|
||||
onewire:onewire {
|
||||
compatible = "w1-gpio";
|
||||
gpios = <&gpio GPIOX_5 GPIO_ACTIVE_HIGH>;
|
||||
status = "disabled";
|
||||
};
|
||||
}; /* end of / */
|
||||
|
||||
&audiobus {
|
||||
|
||||
@@ -460,12 +460,6 @@
|
||||
status = "ok";
|
||||
};
|
||||
|
||||
onewire:onewire {
|
||||
compatible = "w1-gpio";
|
||||
gpios = <&gpio GPIOA_13 GPIO_ACTIVE_HIGH>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pwmgpio:pwmgpio {
|
||||
compatible = "pwm-gpio";
|
||||
#pwm-cells = <3>;
|
||||
|
||||
@@ -10,7 +10,8 @@ dtbo-$(CONFIG_ARCH_MESON64_ODROIDC4) += spi0.dtbo \
|
||||
hktft35.dtbo \
|
||||
ads7846.dtbo \
|
||||
sx865x-i2c1.dtbo \
|
||||
pcf8563.dtbo
|
||||
pcf8563.dtbo \
|
||||
onewire.dtbo
|
||||
|
||||
targets += $(dtbo-y)
|
||||
always := $(dtbo-y)
|
||||
|
||||
19
arch/arm64/boot/dts/amlogic/overlays/odroidc4/onewire.dts
Normal file
19
arch/arm64/boot/dts/amlogic/overlays/odroidc4/onewire.dts
Normal file
@@ -0,0 +1,19 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-bindings/gpio/meson-g12a-gpio.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
||||
/ {
|
||||
fragment@0 {
|
||||
target-path = "/";
|
||||
|
||||
__overlay__ {
|
||||
onewire:onewire {
|
||||
compatible = "w1-gpio";
|
||||
gpios = <&gpio GPIOX_7 GPIO_ACTIVE_HIGH>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -10,7 +10,8 @@ dtbo-$(CONFIG_ARCH_MESON64_ODROIDN2) += spi0.dtbo \
|
||||
ads7846.dtbo \
|
||||
sx865x-i2c1.dtbo \
|
||||
saradc.dtbo \
|
||||
irblaster.dtbo
|
||||
irblaster.dtbo \
|
||||
onewire.dtbo
|
||||
|
||||
targets += $(dtbo-y)
|
||||
always := $(dtbo-y)
|
||||
|
||||
19
arch/arm64/boot/dts/amlogic/overlays/odroidn2/onewire.dts
Normal file
19
arch/arm64/boot/dts/amlogic/overlays/odroidn2/onewire.dts
Normal file
@@ -0,0 +1,19 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-bindings/gpio/meson-g12a-gpio.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
||||
/ {
|
||||
fragment@0 {
|
||||
target-path = "/";
|
||||
|
||||
__overlay__ {
|
||||
onewire:onewire {
|
||||
compatible = "w1-gpio";
|
||||
gpios = <&gpio GPIOX_7 GPIO_ACTIVE_HIGH>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user