ARM: dts: am4372: Add hdq device tree data
authorSourav Poddar <sourav.poddar@ti.com>
Thu, 8 May 2014 06:00:07 +0000 (11:30 +0530)
committerTony Lindgren <tony@atomide.com>
Wed, 14 May 2014 21:42:08 +0000 (14:42 -0700)
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>
arch/arm/boot/dts/am4372.dtsi
arch/arm/boot/dts/am43x-epos-evm.dts

index ac37ac9cab316dd7bfc8e9536885e460a28d4f8f..52aa03ff8bef8485585afc033e28215db8f46f19 100644 (file)
                        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";
+               };
        };
 };
 
index cf8bdf103a48d0c0f9ddebb5c7d3d02f73b2ff7d..2a0fbbbe2a27ccebc14132578ee669e95be99538 100644 (file)
                                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 {
                };
        };
 };
+
+&hdq {
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&hdq_pins>;
+};