1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 4*f126890aSEmmanuel Vadot */ 5*f126890aSEmmanuel Vadot/dts-v1/; 6*f126890aSEmmanuel Vadot 7*f126890aSEmmanuel Vadot#include "omap4460.dtsi" 8*f126890aSEmmanuel Vadot#include "omap4-panda-common.dtsi" 9*f126890aSEmmanuel Vadot 10*f126890aSEmmanuel Vadot/ { 11*f126890aSEmmanuel Vadot model = "TI OMAP4 PandaBoard-ES"; 12*f126890aSEmmanuel Vadot compatible = "ti,omap4-panda-es", "ti,omap4-panda", "ti,omap4460", "ti,omap4430", "ti,omap4"; 13*f126890aSEmmanuel Vadot}; 14*f126890aSEmmanuel Vadot 15*f126890aSEmmanuel Vadot/* Audio routing is differnet between PandaBoard4430 and PandaBoardES */ 16*f126890aSEmmanuel Vadot&sound { 17*f126890aSEmmanuel Vadot ti,model = "PandaBoardES"; 18*f126890aSEmmanuel Vadot 19*f126890aSEmmanuel Vadot /* Audio routing */ 20*f126890aSEmmanuel Vadot ti,audio-routing = 21*f126890aSEmmanuel Vadot "Headset Stereophone", "HSOL", 22*f126890aSEmmanuel Vadot "Headset Stereophone", "HSOR", 23*f126890aSEmmanuel Vadot "Ext Spk", "HFL", 24*f126890aSEmmanuel Vadot "Ext Spk", "HFR", 25*f126890aSEmmanuel Vadot "Line Out", "AUXL", 26*f126890aSEmmanuel Vadot "Line Out", "AUXR", 27*f126890aSEmmanuel Vadot "AFML", "Line In", 28*f126890aSEmmanuel Vadot "AFMR", "Line In"; 29*f126890aSEmmanuel Vadot}; 30*f126890aSEmmanuel Vadot 31*f126890aSEmmanuel Vadot/* PandaboardES has external pullups on SCL & SDA */ 32*f126890aSEmmanuel Vadot&dss_hdmi_pins { 33*f126890aSEmmanuel Vadot pinctrl-single,pins = < 34*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x09a, PIN_INPUT | MUX_MODE0) /* hdmi_cec.hdmi_cec */ 35*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x09c, PIN_INPUT | MUX_MODE0) /* hdmi_scl.hdmi_scl */ 36*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x09e, PIN_INPUT | MUX_MODE0) /* hdmi_sda.hdmi_sda */ 37*f126890aSEmmanuel Vadot >; 38*f126890aSEmmanuel Vadot}; 39*f126890aSEmmanuel Vadot 40*f126890aSEmmanuel Vadot&omap4_pmx_core { 41*f126890aSEmmanuel Vadot led_gpio_pins: gpio-led-pmx-pins { 42*f126890aSEmmanuel Vadot pinctrl-single,pins = < 43*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x0f6, PIN_OUTPUT | MUX_MODE3) /* gpio_110 */ 44*f126890aSEmmanuel Vadot >; 45*f126890aSEmmanuel Vadot }; 46*f126890aSEmmanuel Vadot 47*f126890aSEmmanuel Vadot button_pins: button-pins { 48*f126890aSEmmanuel Vadot pinctrl-single,pins = < 49*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x0fc, PIN_INPUT_PULLUP | MUX_MODE3) /* gpio_113 */ 50*f126890aSEmmanuel Vadot >; 51*f126890aSEmmanuel Vadot }; 52*f126890aSEmmanuel Vadot 53*f126890aSEmmanuel Vadot bt_pins: bt-pins { 54*f126890aSEmmanuel Vadot pinctrl-single,pins = < 55*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x06c, PIN_OUTPUT | MUX_MODE3) /* gpmc_a22.gpio_46 - BTEN */ 56*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x072, PIN_OUTPUT_PULLUP | MUX_MODE3) /* gpmc_a25.gpio_49 - BTWAKEUP */ 57*f126890aSEmmanuel Vadot >; 58*f126890aSEmmanuel Vadot }; 59*f126890aSEmmanuel Vadot 60*f126890aSEmmanuel Vadot uart2_pins: uart2-pins { 61*f126890aSEmmanuel Vadot pinctrl-single,pins = < 62*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x118, PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_cts.uart2_cts - HCI */ 63*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x11a, PIN_OUTPUT | MUX_MODE0) /* uart2_rts.uart2_rts */ 64*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x11c, PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_rx.uart2_rx */ 65*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x11e, PIN_OUTPUT | MUX_MODE0) /* uart2_tx.uart2_tx */ 66*f126890aSEmmanuel Vadot >; 67*f126890aSEmmanuel Vadot }; 68*f126890aSEmmanuel Vadot}; 69*f126890aSEmmanuel Vadot 70*f126890aSEmmanuel Vadot&led_wkgpio_pins { 71*f126890aSEmmanuel Vadot pinctrl-single,pins = < 72*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x05c, PIN_OUTPUT | MUX_MODE3) /* gpio_wk8 */ 73*f126890aSEmmanuel Vadot >; 74*f126890aSEmmanuel Vadot}; 75*f126890aSEmmanuel Vadot 76*f126890aSEmmanuel Vadot&leds { 77*f126890aSEmmanuel Vadot pinctrl-0 = < 78*f126890aSEmmanuel Vadot &led_gpio_pins 79*f126890aSEmmanuel Vadot &led_wkgpio_pins 80*f126890aSEmmanuel Vadot >; 81*f126890aSEmmanuel Vadot 82*f126890aSEmmanuel Vadot led-heartbeat { 83*f126890aSEmmanuel Vadot gpios = <&gpio4 14 GPIO_ACTIVE_HIGH>; 84*f126890aSEmmanuel Vadot }; 85*f126890aSEmmanuel Vadot led-mmc { 86*f126890aSEmmanuel Vadot gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; 87*f126890aSEmmanuel Vadot }; 88*f126890aSEmmanuel Vadot}; 89*f126890aSEmmanuel Vadot 90*f126890aSEmmanuel Vadot&gpio_keys { 91*f126890aSEmmanuel Vadot buttonS2 { 92*f126890aSEmmanuel Vadot gpios = <&gpio4 17 GPIO_ACTIVE_LOW>; /* gpio_113 */ 93*f126890aSEmmanuel Vadot }; 94*f126890aSEmmanuel Vadot}; 95*f126890aSEmmanuel Vadot 96*f126890aSEmmanuel Vadot&gpio1_target { 97*f126890aSEmmanuel Vadot ti,no-reset-on-init; 98*f126890aSEmmanuel Vadot}; 99*f126890aSEmmanuel Vadot 100*f126890aSEmmanuel Vadot&wl12xx_gpio { 101*f126890aSEmmanuel Vadot pinctrl-single,pins = < 102*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x066, PIN_OUTPUT | MUX_MODE3) /* gpmc_a19.gpio_43 */ 103*f126890aSEmmanuel Vadot OMAP4_IOPAD(0x070, PIN_OUTPUT_PULLUP | MUX_MODE3) /* gpmc_a24.gpio_48 */ 104*f126890aSEmmanuel Vadot >; 105*f126890aSEmmanuel Vadot}; 106*f126890aSEmmanuel Vadot 107*f126890aSEmmanuel Vadot&uart2 { 108*f126890aSEmmanuel Vadot pinctrl-names = "default"; 109*f126890aSEmmanuel Vadot pinctrl-0 = <&uart2_pins &bt_pins>; 110*f126890aSEmmanuel Vadot bluetooth: tiwi { 111*f126890aSEmmanuel Vadot compatible = "ti,wl1271-st"; 112*f126890aSEmmanuel Vadot enable-gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>; /* GPIO_46 */ 113*f126890aSEmmanuel Vadot }; 114*f126890aSEmmanuel Vadot}; 115