mirror of
https://github.com/brain-hackers/linux-brain.git
synced 2024-06-09 07:16:21 +09:00
789246b9af
commit df9dbaf2c415cd94ad520067a1eccfee62f00a33 upstream.
The pinmux control register offset passed to OMAP4_IOPAD is odd.
Fixes: ab9a13665e
("ARM: dts: pandaboard: add gpio user button")
Cc: stable@vger.kernel.org
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
83 lines
1.7 KiB
Plaintext
83 lines
1.7 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
|
|
*/
|
|
/dts-v1/;
|
|
|
|
#include "omap4460.dtsi"
|
|
#include "omap4-panda-common.dtsi"
|
|
|
|
/ {
|
|
model = "TI OMAP4 PandaBoard-ES";
|
|
compatible = "ti,omap4-panda-es", "ti,omap4-panda", "ti,omap4460", "ti,omap4430", "ti,omap4";
|
|
};
|
|
|
|
/* Audio routing is differnet between PandaBoard4430 and PandaBoardES */
|
|
&sound {
|
|
ti,model = "PandaBoardES";
|
|
|
|
/* Audio routing */
|
|
ti,audio-routing =
|
|
"Headset Stereophone", "HSOL",
|
|
"Headset Stereophone", "HSOR",
|
|
"Ext Spk", "HFL",
|
|
"Ext Spk", "HFR",
|
|
"Line Out", "AUXL",
|
|
"Line Out", "AUXR",
|
|
"AFML", "Line In",
|
|
"AFMR", "Line In";
|
|
};
|
|
|
|
/* PandaboardES has external pullups on SCL & SDA */
|
|
&dss_hdmi_pins {
|
|
pinctrl-single,pins = <
|
|
OMAP4_IOPAD(0x09a, PIN_INPUT | MUX_MODE0) /* hdmi_cec.hdmi_cec */
|
|
OMAP4_IOPAD(0x09c, PIN_INPUT | MUX_MODE0) /* hdmi_scl.hdmi_scl */
|
|
OMAP4_IOPAD(0x09e, PIN_INPUT | MUX_MODE0) /* hdmi_sda.hdmi_sda */
|
|
>;
|
|
};
|
|
|
|
&omap4_pmx_core {
|
|
led_gpio_pins: gpio_led_pmx {
|
|
pinctrl-single,pins = <
|
|
OMAP4_IOPAD(0x0f6, PIN_OUTPUT | MUX_MODE3) /* gpio_110 */
|
|
>;
|
|
};
|
|
|
|
button_pins: pinmux_button_pins {
|
|
pinctrl-single,pins = <
|
|
OMAP4_IOPAD(0x0fc, PIN_INPUT_PULLUP | MUX_MODE3) /* gpio_113 */
|
|
>;
|
|
};
|
|
};
|
|
|
|
&led_wkgpio_pins {
|
|
pinctrl-single,pins = <
|
|
OMAP4_IOPAD(0x05c, PIN_OUTPUT | MUX_MODE3) /* gpio_wk8 */
|
|
>;
|
|
};
|
|
|
|
&leds {
|
|
pinctrl-0 = <
|
|
&led_gpio_pins
|
|
&led_wkgpio_pins
|
|
>;
|
|
|
|
heartbeat {
|
|
gpios = <&gpio4 14 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
mmc {
|
|
gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
|
|
&gpio_keys {
|
|
buttonS2 {
|
|
gpios = <&gpio4 17 GPIO_ACTIVE_LOW>; /* gpio_113 */
|
|
};
|
|
};
|
|
|
|
&gpio1_target {
|
|
ti,no-reset-on-init;
|
|
};
|