mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
ODROID-M1: dtb/dtbo: Add onewire
Signed-off-by: Steve Jeong <how2soft@gmail.com> Change-Id: I70e736833e92e936e15038d3a9d88e62ea35042f
This commit is contained in:
committed by
codewalkerster
parent
c82036b6da
commit
e5a608e087
@@ -3,6 +3,7 @@
|
||||
dtbo-$(CONFIG_ARCH_ROCKCHIP_ODROIDM1) += \
|
||||
i2c0.dtbo \
|
||||
i2c1.dtbo \
|
||||
onewire.dtbo \
|
||||
pwm1.dtbo \
|
||||
pwm2.dtbo \
|
||||
pwm9.dtbo \
|
||||
|
||||
19
arch/arm64/boot/dts/rockchip/overlays/odroidm1/onewire.dts
Normal file
19
arch/arm64/boot/dts/rockchip/overlays/odroidm1/onewire.dts
Normal file
@@ -0,0 +1,19 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/pinctrl/rockchip.h>
|
||||
|
||||
/ {
|
||||
fragment@0 {
|
||||
target-path = "/";
|
||||
|
||||
__overlay__ {
|
||||
onewire:onewire {
|
||||
compatible = "w1-gpio";
|
||||
gpios = <&gpio3 RK_PB2 GPIO_ACTIVE_HIGH>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user