1/*
2 * am335x-base0033.dts - Device Tree file for IGEP AQUILA EXPANSION
3 *
4 * Copyright (C) 2013 ISEE 2007 SL - http://www.isee.biz
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10
11#include "am335x-igep0033.dtsi"
12
13/ {
14	model = "IGEP COM AM335x on AQUILA Expansion";
15	compatible = "isee,am335x-base0033", "isee,am335x-igep0033", "ti,am33xx";
16
17	hdmi {
18		compatible = "ti,tilcdc,slave";
19		i2c = <&i2c0>;
20		pinctrl-names = "default", "off";
21		pinctrl-0 = <&nxp_hdmi_pins>;
22		pinctrl-1 = <&nxp_hdmi_off_pins>;
23		status = "okay";
24	};
25
26	leds_base {
27		pinctrl-names = "default";
28		pinctrl-0 = <&leds_base_pins>;
29
30		compatible = "gpio-leds";
31
32		led@0 {
33			label = "base:red:user";
34			gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;	/* gpio1_21 */
35			default-state = "off";
36		};
37
38		led@1 {
39			label = "base:green:user";
40			gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>;	/* gpio2_0 */
41			default-state = "off";
42		};
43	};
44};
45
46&am33xx_pinmux {
47	nxp_hdmi_pins: pinmux_nxp_hdmi_pins {
48		pinctrl-single,pins = <
49			0x1b0 (PIN_OUTPUT | MUX_MODE3)	/* xdma_event_intr0.clkout1 */
50			0xa0 (PIN_OUTPUT | MUX_MODE0)	/* lcd_data0 */
51			0xa4 (PIN_OUTPUT | MUX_MODE0)	/* lcd_data1 */
52			0xa8 (PIN_OUTPUT | MUX_MODE0)	/* lcd_data2 */
53			0xac (PIN_OUTPUT | MUX_MODE0)	/* lcd_data3 */
54			0xb0 (PIN_OUTPUT | MUX_MODE0)	/* lcd_data4 */
55			0xb4 (PIN_OUTPUT | MUX_MODE0)	/* lcd_data5 */
56			0xb8 (PIN_OUTPUT | MUX_MODE0)	/* lcd_data6 */
57			0xbc (PIN_OUTPUT | MUX_MODE0)	/* lcd_data7 */
58			0xc0 (PIN_OUTPUT | MUX_MODE0)	/* lcd_data8 */
59			0xc4 (PIN_OUTPUT | MUX_MODE0)	/* lcd_data9 */
60			0xc8 (PIN_OUTPUT | MUX_MODE0)	/* lcd_data10 */
61			0xcc (PIN_OUTPUT | MUX_MODE0)	/* lcd_data11 */
62			0xd0 (PIN_OUTPUT | MUX_MODE0)	/* lcd_data12 */
63			0xd4 (PIN_OUTPUT | MUX_MODE0)	/* lcd_data13 */
64			0xd8 (PIN_OUTPUT | MUX_MODE0)	/* lcd_data14 */
65			0xdc (PIN_OUTPUT | MUX_MODE0)	/* lcd_data15 */
66			0xe0 (PIN_OUTPUT | MUX_MODE0)	/* lcd_vsync */
67			0xe4 (PIN_OUTPUT | MUX_MODE0)	/* lcd_hsync */
68			0xe8 (PIN_OUTPUT | MUX_MODE0)	/* lcd_pclk */
69			0xec (PIN_OUTPUT | MUX_MODE0)	/* lcd_ac_bias_en */
70		>;
71	};
72	nxp_hdmi_off_pins: pinmux_nxp_hdmi_off_pins {
73		pinctrl-single,pins = <
74			0x1b0 (PIN_OUTPUT | MUX_MODE3)	/* xdma_event_intr0.clkout1 */
75		>;
76	};
77
78	leds_base_pins: pinmux_leds_base_pins {
79		pinctrl-single,pins = <
80			0x54 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a5.gpio1_21 */
81			0x88 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* gpmc_csn3.gpio2_0 */
82		>;
83	};
84};
85
86&lcdc {
87	status = "okay";
88};
89
90&i2c0 {
91	eeprom: eeprom@50 {
92		compatible = "at,24c256";
93		reg = <0x50>;
94	};
95};
96