blob: 35e4f345a1345693f064139c86c480ad3abe9cb5 [file] [log] [blame]
Tero Kristo00fde6b2020-06-16 11:03:05 +03001// SPDX-License-Identifier: GPL-2.0-only
2/*
Andrew Davis590f1d92023-04-11 13:25:00 -05003 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
Tero Kristo00fde6b2020-06-16 11:03:05 +03004 */
5/dts-v1/;
6
7#include "omap4460.dtsi"
8#include "omap4-panda-common.dtsi"
9
10/ {
11 model = "TI OMAP4 PandaBoard-ES";
12 compatible = "ti,omap4-panda-es", "ti,omap4-panda", "ti,omap4460", "ti,omap4430", "ti,omap4";
13};
14
15/* Audio routing is differnet between PandaBoard4430 and PandaBoardES */
16&sound {
17 ti,model = "PandaBoardES";
18
19 /* Audio routing */
20 ti,audio-routing =
21 "Headset Stereophone", "HSOL",
22 "Headset Stereophone", "HSOR",
23 "Ext Spk", "HFL",
24 "Ext Spk", "HFR",
25 "Line Out", "AUXL",
26 "Line Out", "AUXR",
27 "AFML", "Line In",
28 "AFMR", "Line In";
29};
30
31/* PandaboardES has external pullups on SCL & SDA */
32&dss_hdmi_pins {
33 pinctrl-single,pins = <
34 OMAP4_IOPAD(0x09a, PIN_INPUT | MUX_MODE0) /* hdmi_cec.hdmi_cec */
35 OMAP4_IOPAD(0x09c, PIN_INPUT | MUX_MODE0) /* hdmi_scl.hdmi_scl */
36 OMAP4_IOPAD(0x09e, PIN_INPUT | MUX_MODE0) /* hdmi_sda.hdmi_sda */
37 >;
38};
39
40&omap4_pmx_core {
41 led_gpio_pins: gpio_led_pmx {
42 pinctrl-single,pins = <
43 OMAP4_IOPAD(0x0f6, PIN_OUTPUT | MUX_MODE3) /* gpio_110 */
44 >;
45 };
46
47 button_pins: pinmux_button_pins {
48 pinctrl-single,pins = <
49 OMAP4_IOPAD(0x11b, PIN_INPUT_PULLUP | MUX_MODE3) /* gpio_113 */
50 >;
51 };
52};
53
54&led_wkgpio_pins {
55 pinctrl-single,pins = <
56 OMAP4_IOPAD(0x05c, PIN_OUTPUT | MUX_MODE3) /* gpio_wk8 */
57 >;
58};
59
60&leds {
61 pinctrl-0 = <
62 &led_gpio_pins
63 &led_wkgpio_pins
64 >;
65
Andrew Davisa39f2a52023-04-11 13:25:08 -050066 led-heartbeat {
Tero Kristo00fde6b2020-06-16 11:03:05 +030067 gpios = <&gpio4 14 GPIO_ACTIVE_HIGH>;
68 };
Andrew Davisa39f2a52023-04-11 13:25:08 -050069 led-mmc {
Tero Kristo00fde6b2020-06-16 11:03:05 +030070 gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
71 };
72};
73
74&gpio_keys {
75 buttonS2 {
76 gpios = <&gpio4 17 GPIO_ACTIVE_LOW>; /* gpio_113 */
77 };
78};
79
80&gpio1_target {
81 ti,no-reset-on-init;
82};