Enric Balletbo i Serra | 5cda162 | 2013-09-10 16:55:49 +0200 | [diff] [blame] | 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"; |
Enric Balletbo i Serra | 0710b67 | 2013-11-26 15:03:38 -0800 | [diff] [blame] | 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 | }; |
Enric Balletbo i Serra | f3689fd | 2013-11-26 15:03:38 -0800 | [diff] [blame] | 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 | }; |
Enric Balletbo i Serra | 0710b67 | 2013-11-26 15:03:38 -0800 | [diff] [blame] | 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 | }; |
Enric Balletbo i Serra | f3689fd | 2013-11-26 15:03:38 -0800 | [diff] [blame] | 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 | }; |
Enric Balletbo i Serra | 0710b67 | 2013-11-26 15:03:38 -0800 | [diff] [blame] | 84 | }; |
| 85 | |
| 86 | &lcdc { |
| 87 | status = "okay"; |
Enric Balletbo i Serra | 5cda162 | 2013-09-10 16:55:49 +0200 | [diff] [blame] | 88 | }; |
Enric Balletbo i Serra | d8e5b2b | 2013-11-26 15:03:38 -0800 | [diff] [blame] | 89 | |
| 90 | &i2c0 { |
| 91 | eeprom: eeprom@50 { |
| 92 | compatible = "at,24c256"; |
| 93 | reg = <0x50>; |
| 94 | }; |
| 95 | }; |