ODROID-M1: dtb/dtbo: Add onewire

Signed-off-by: Steve Jeong <how2soft@gmail.com>
Change-Id: I70e736833e92e936e15038d3a9d88e62ea35042f
This commit is contained in:
steve.jeong
2022-06-02 15:53:21 +09:00
committed by codewalkerster
parent c82036b6da
commit e5a608e087
2 changed files with 20 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
dtbo-$(CONFIG_ARCH_ROCKCHIP_ODROIDM1) += \
i2c0.dtbo \
i2c1.dtbo \
onewire.dtbo \
pwm1.dtbo \
pwm2.dtbo \
pwm9.dtbo \

View 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";
};
};
};
};