Skip to content

Commit

Permalink
ARM: dts: at91: sama5d27_som1_ek: add onewire connector for LCD eeprom
Browse files Browse the repository at this point in the history
Add onewire node in device tree for TM series LCDs

Signed-off-by: Eugen Hristev <[email protected]>
  • Loading branch information
ehristev authored and trini committed Sep 29, 2018
1 parent 2b238c6 commit d656875
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions arch/arm/dts/at91-sama5d27_som1_ek.dts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@
stdout-path = &uart1;
};

onewire_tm: onewire {
gpios = <&pioA 17 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>;
Expand Down Expand Up @@ -208,6 +220,11 @@
pinmux = <PIN_PA31__GPIO>;
bias-disable;
};

pinctrl_onewire_tm_default: onewire_tm_default {
pinmux = <PIN_PA17__GPIO>;
bias-pull-up;
};
};
};
};
Expand Down

0 comments on commit d656875

Please sign in to comment.