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 = < |
Javier Martinez Canillas | e9a2677 | 2015-10-19 17:34:21 +0200 | [diff] [blame] | 49 | AM33XX_IOPAD(0x9b0, PIN_OUTPUT | MUX_MODE3) /* xdma_event_intr0.clkout1 */ |
| 50 | AM33XX_IOPAD(0x8a0, PIN_OUTPUT | MUX_MODE0) /* lcd_data0 */ |
| 51 | AM33XX_IOPAD(0x8a4, PIN_OUTPUT | MUX_MODE0) /* lcd_data1 */ |
| 52 | AM33XX_IOPAD(0x8a8, PIN_OUTPUT | MUX_MODE0) /* lcd_data2 */ |
| 53 | AM33XX_IOPAD(0x8ac, PIN_OUTPUT | MUX_MODE0) /* lcd_data3 */ |
| 54 | AM33XX_IOPAD(0x8b0, PIN_OUTPUT | MUX_MODE0) /* lcd_data4 */ |
| 55 | AM33XX_IOPAD(0x8b4, PIN_OUTPUT | MUX_MODE0) /* lcd_data5 */ |
| 56 | AM33XX_IOPAD(0x8b8, PIN_OUTPUT | MUX_MODE0) /* lcd_data6 */ |
| 57 | AM33XX_IOPAD(0x8bc, PIN_OUTPUT | MUX_MODE0) /* lcd_data7 */ |
| 58 | AM33XX_IOPAD(0x8c0, PIN_OUTPUT | MUX_MODE0) /* lcd_data8 */ |
| 59 | AM33XX_IOPAD(0x8c4, PIN_OUTPUT | MUX_MODE0) /* lcd_data9 */ |
| 60 | AM33XX_IOPAD(0x8c8, PIN_OUTPUT | MUX_MODE0) /* lcd_data10 */ |
| 61 | AM33XX_IOPAD(0x8cc, PIN_OUTPUT | MUX_MODE0) /* lcd_data11 */ |
| 62 | AM33XX_IOPAD(0x8d0, PIN_OUTPUT | MUX_MODE0) /* lcd_data12 */ |
| 63 | AM33XX_IOPAD(0x8d4, PIN_OUTPUT | MUX_MODE0) /* lcd_data13 */ |
| 64 | AM33XX_IOPAD(0x8d8, PIN_OUTPUT | MUX_MODE0) /* lcd_data14 */ |
| 65 | AM33XX_IOPAD(0x8dc, PIN_OUTPUT | MUX_MODE0) /* lcd_data15 */ |
| 66 | AM33XX_IOPAD(0x8e0, PIN_OUTPUT | MUX_MODE0) /* lcd_vsync */ |
| 67 | AM33XX_IOPAD(0x8e4, PIN_OUTPUT | MUX_MODE0) /* lcd_hsync */ |
| 68 | AM33XX_IOPAD(0x8e8, PIN_OUTPUT | MUX_MODE0) /* lcd_pclk */ |
| 69 | AM33XX_IOPAD(0x8ec, PIN_OUTPUT | MUX_MODE0) /* lcd_ac_bias_en */ |
Enric Balletbo i Serra | 0710b67 | 2013-11-26 15:03:38 -0800 | [diff] [blame] | 70 | >; |
| 71 | }; |
| 72 | nxp_hdmi_off_pins: pinmux_nxp_hdmi_off_pins { |
| 73 | pinctrl-single,pins = < |
Javier Martinez Canillas | e9a2677 | 2015-10-19 17:34:21 +0200 | [diff] [blame] | 74 | AM33XX_IOPAD(0x9b0, PIN_OUTPUT | MUX_MODE3) /* xdma_event_intr0.clkout1 */ |
Enric Balletbo i Serra | 0710b67 | 2013-11-26 15:03:38 -0800 | [diff] [blame] | 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 = < |
Javier Martinez Canillas | e9a2677 | 2015-10-19 17:34:21 +0200 | [diff] [blame] | 80 | AM33XX_IOPAD(0x854, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a5.gpio1_21 */ |
| 81 | AM33XX_IOPAD(0x888, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn3.gpio2_0 */ |
Enric Balletbo i Serra | f3689fd | 2013-11-26 15:03:38 -0800 | [diff] [blame] | 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 | }; |