diff options
author | Sourav Poddar <sourav.poddar@ti.com> | 2014-05-08 08:00:07 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-05-14 23:42:08 +0200 |
commit | 741cac5f00beb8dce247db9d9bf7b97df32ddd00 (patch) | |
tree | 9fd820afea4cc77b6ca73667725bcf234711f7c4 /arch | |
parent | ARM: omap2+: skip device build from platform code for dt (diff) | |
download | linux-741cac5f00beb8dce247db9d9bf7b97df32ddd00.tar.xz linux-741cac5f00beb8dce247db9d9bf7b97df32ddd00.zip |
ARM: dts: am4372: Add hdq device tree data
Add device tree nodes and pinmux for hdq/1wire on
am43x epos evm.
Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/am4372.dtsi | 10 | ||||
-rw-r--r-- | arch/arm/boot/dts/am43x-epos-evm.dts | 12 |
2 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index ac37ac9cab31..52aa03ff8bef 100644 --- a/arch/arm/boot/dts/am4372.dtsi +++ b/arch/arm/boot/dts/am4372.dtsi @@ -840,6 +840,16 @@ num-cs = <4>; status = "disabled"; }; + + hdq: hdq@48347000 { + compatible = "ti,am43xx-hdq"; + reg = <0x48347000 0x1000>; + interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&func_12m_clk>; + clock-names = "fck"; + ti,hwmods = "hdq1w"; + status = "disabled"; + }; }; }; diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index cf8bdf103a48..2a0fbbbe2a27 100644 --- a/arch/arm/boot/dts/am43x-epos-evm.dts +++ b/arch/arm/boot/dts/am43x-epos-evm.dts @@ -155,6 +155,12 @@ 0x44 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_a1.gpio1_17 */ >; }; + + hdq_pins: pinmux_hdq_pins { + pinctrl-single,pins = < + 0x234 (PIN_INPUT_PULLUP | MUX_MODE1) /* cam1_wen.hdq_gpio */ + >; + }; }; matrix_keypad: matrix_keypad@0 { @@ -456,3 +462,9 @@ }; }; }; + +&hdq { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&hdq_pins>; +}; |