mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
ODROID-COMMON: arm64/dts: move onewire node to each overlay directory
Change-Id: Id0262986d0faceba5997e8bff9d89833aff8f5a0
This commit is contained in:
@@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -11,7 +11,8 @@ dtbo-$(CONFIG_ARCH_MESON64_ODROIDN2) += spi0.dtbo \
|
||||
sx865x-i2c1.dtbo \
|
||||
saradc.dtbo \
|
||||
irblaster.dtbo \
|
||||
odroidn2-opp.dtbo
|
||||
odroidn2-opp.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