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 | |
| 13 | /* Audio routing is differnet between PandaBoard4430 and PandaBoardES */ |
| 14 | &sound { |
| 15 | ti,model = "PandaBoardES"; |
| 16 | |
| 17 | /* Audio routing */ |
| 18 | ti,audio-routing = |
| 19 | "Headset Stereophone", "HSOL", |
| 20 | "Headset Stereophone", "HSOR", |
| 21 | "Ext Spk", "HFL", |
| 22 | "Ext Spk", "HFR", |
| 23 | "Line Out", "AUXL", |
| 24 | "Line Out", "AUXR", |
| 25 | "AFML", "Line In", |
| 26 | "AFMR", "Line In"; |
| 27 | }; |
Ricardo Neri | 0d9250c | 2012-11-05 15:14:14 +0200 | [diff] [blame] | 28 | |
| 29 | /* PandaboardES has external pullups on SCL & SDA */ |
| 30 | &dss_hdmi_pins { |
| 31 | pinctrl-single,pins = < |
Florian Vaussard | bcd3cca | 2013-05-31 14:32:59 +0200 | [diff] [blame] | 32 | 0x5a (PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_cec.hdmi_cec */ |
| 33 | 0x5c (PIN_INPUT | MUX_MODE0) /* hdmi_scl.hdmi_scl */ |
| 34 | 0x5e (PIN_INPUT | MUX_MODE0) /* hdmi_sda.hdmi_sda */ |
Ricardo Neri | 0d9250c | 2012-11-05 15:14:14 +0200 | [diff] [blame] | 35 | >; |
| 36 | }; |
Dan Murphy | 3818d7c | 2013-05-31 10:44:55 -0500 | [diff] [blame] | 37 | |
| 38 | &omap4_pmx_core { |
| 39 | led_gpio_pins: gpio_led_pmx { |
| 40 | pinctrl-single,pins = < |
| 41 | 0xb6 (PIN_OUTPUT | MUX_MODE3) /* gpio_110 */ |
| 42 | >; |
| 43 | }; |
| 44 | }; |
| 45 | |
| 46 | &led_wkgpio_pins { |
| 47 | pinctrl-single,pins = < |
| 48 | 0x1c (PIN_OUTPUT | MUX_MODE3) /* gpio_wk8 */ |
| 49 | >; |
| 50 | }; |
| 51 | |
| 52 | &leds { |
| 53 | pinctrl-0 = < |
| 54 | &led_gpio_pins |
| 55 | &led_wkgpio_pins |
| 56 | >; |
| 57 | |
| 58 | heartbeat { |
| 59 | gpios = <&gpio4 14 GPIO_ACTIVE_HIGH>; |
| 60 | }; |
| 61 | mmc { |
| 62 | gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; |
| 63 | }; |
| 64 | }; |