diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2017-03-23 06:23:55 -0700 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-03-31 07:54:48 +0200 |
commit | d24420b897eba72c3c10fc6e6bfb9186dc8000f5 (patch) | |
tree | 662a44ceda9f513e9a6e0ae8cd8b407f08a319a6 /arch/arm/dts | |
parent | cb9a31134c6c09bd0039e049485329814bbec492 (diff) | |
download | barebox-d24420b897eba72c3c10fc6e6bfb9186dc8000f5.tar.gz barebox-d24420b897eba72c3c10fc6e6bfb9186dc8000f5.tar.xz |
at91sam9x5ek: Configure 1-wire in DT
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r-- | arch/arm/dts/at91sam9x5ek.dts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/dts/at91sam9x5ek.dts b/arch/arm/dts/at91sam9x5ek.dts index efdba61863..c169181ac4 100644 --- a/arch/arm/dts/at91sam9x5ek.dts +++ b/arch/arm/dts/at91sam9x5ek.dts @@ -29,6 +29,21 @@ }; }; }; + + leds { + /* + * PB18 has a resource conflict since it is both used + * as a heartbeat LED and 1-wire bus in the kernel + * device tree. Because 1-wire EEPROMs contains + * importatnt revision information we move heartbeat + * to PD21 and remove the original pb18 node + */ + /delete-node/ pb18; + + pd21 { + linux,default-trigger = "heartbeat"; + }; + }; }; &spi0 { |