Peter Ujfalusi | f700c4d | 2012-06-08 17:02:05 +0300 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | */ |
Nishanth Menon | 4b79197 | 2013-03-19 12:53:07 -0500 | [diff] [blame] | 8 | /dts-v1/; |
Jon Hunter | 9b07b47 | 2012-10-18 09:28:52 -0500 | [diff] [blame] | 9 | |
Florian Vaussard | 98ef7957 | 2013-05-31 14:32:55 +0200 | [diff] [blame] | 10 | #include "omap4460.dtsi" |
| 11 | #include "omap4-panda-common.dtsi" |
Peter Ujfalusi | f700c4d | 2012-06-08 17:02:05 +0300 | [diff] [blame] | 12 | |
Nishanth Menon | a1a57ab | 2014-08-28 15:45:03 -0500 | [diff] [blame] | 13 | / { |
| 14 | model = "TI OMAP4 PandaBoard-ES"; |
| 15 | compatible = "ti,omap4-panda-es", "ti,omap4-panda", "ti,omap4460", "ti,omap4430", "ti,omap4"; |
| 16 | }; |
| 17 | |
Peter Ujfalusi | f700c4d | 2012-06-08 17:02:05 +0300 | [diff] [blame] | 18 | /* Audio routing is differnet between PandaBoard4430 and PandaBoardES */ |
| 19 | &sound { |
| 20 | ti,model = "PandaBoardES"; |
| 21 | |
| 22 | /* Audio routing */ |
| 23 | ti,audio-routing = |
| 24 | "Headset Stereophone", "HSOL", |
| 25 | "Headset Stereophone", "HSOR", |
| 26 | "Ext Spk", "HFL", |
| 27 | "Ext Spk", "HFR", |
| 28 | "Line Out", "AUXL", |
| 29 | "Line Out", "AUXR", |
| 30 | "AFML", "Line In", |
| 31 | "AFMR", "Line In"; |
| 32 | }; |
Ricardo Neri | 0d9250c | 2012-11-05 15:14:14 +0200 | [diff] [blame] | 33 | |
| 34 | /* PandaboardES has external pullups on SCL & SDA */ |
| 35 | &dss_hdmi_pins { |
| 36 | pinctrl-single,pins = < |
Florian Vaussard | bcd3cca | 2013-05-31 14:32:59 +0200 | [diff] [blame] | 37 | 0x5a (PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_cec.hdmi_cec */ |
| 38 | 0x5c (PIN_INPUT | MUX_MODE0) /* hdmi_scl.hdmi_scl */ |
| 39 | 0x5e (PIN_INPUT | MUX_MODE0) /* hdmi_sda.hdmi_sda */ |
Ricardo Neri | 0d9250c | 2012-11-05 15:14:14 +0200 | [diff] [blame] | 40 | >; |
| 41 | }; |
Dan Murphy | 3818d7c | 2013-05-31 10:44:55 -0500 | [diff] [blame] | 42 | |
| 43 | &omap4_pmx_core { |
| 44 | led_gpio_pins: gpio_led_pmx { |
| 45 | pinctrl-single,pins = < |
| 46 | 0xb6 (PIN_OUTPUT | MUX_MODE3) /* gpio_110 */ |
| 47 | >; |
| 48 | }; |
| 49 | }; |
| 50 | |
| 51 | &led_wkgpio_pins { |
| 52 | pinctrl-single,pins = < |
| 53 | 0x1c (PIN_OUTPUT | MUX_MODE3) /* gpio_wk8 */ |
| 54 | >; |
| 55 | }; |
| 56 | |
| 57 | &leds { |
| 58 | pinctrl-0 = < |
| 59 | &led_gpio_pins |
| 60 | &led_wkgpio_pins |
| 61 | >; |
| 62 | |
| 63 | heartbeat { |
| 64 | gpios = <&gpio4 14 GPIO_ACTIVE_HIGH>; |
| 65 | }; |
| 66 | mmc { |
| 67 | gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; |
| 68 | }; |
| 69 | }; |
Nishanth Menon | c1bac17 | 2013-10-10 11:44:41 -0500 | [diff] [blame] | 70 | |
| 71 | &gpio1 { |
| 72 | ti,no-reset-on-init; |
| 73 | }; |