ARM: dts: at91: sama5d2_xplained: add onewire connector for LCD eeprom

Add onewire node in device tree for TM series LCDs

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
This commit is contained in:
Eugen Hristev 2018-09-18 10:35:53 +03:00 committed by Tom Rini
parent d67d725457
commit 7f0110d47e
2 changed files with 22 additions and 0 deletions

View file

@ -11,6 +11,18 @@
stdout-path = &uart1;
};
onewire_tm: onewire {
gpios = <&pioA PIN_PB0 0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_onewire_tm_default>;
status = "okay";
w1_eeprom: w1_eeprom@0 {
compatible = "maxim,ds24b33";
status = "okay";
};
};
ahb {
usb1: ohci@00400000 {
num-ports = <3>;
@ -270,6 +282,11 @@
pinmux = <PIN_PA31__GPIO>;
bias-disable;
};
pinctrl_onewire_tm_default: onewire_tm_default {
pinmux = <PIN_PB0__GPIO>;
bias-pull-up;
};
};
};
};

View file

@ -769,4 +769,9 @@
};
};
};
onewire_tm: onewire {
compatible = "w1-gpio";
status = "disabled";
};
};