lctr-a9xx: moved pinmux initialization of pins without a kernel driver to u-boot.
This commit is contained in:
@@ -12,7 +12,7 @@ diff -Nru linux-3.13.1/arch/arm/boot/dts/Makefile linux-3.13.1.rasm/arch/arm/boo
|
||||
diff -Nru linux-3.13.1/arch/arm/boot/dts/omap3-lctr-a9xx.dts linux-3.13.1.rasm/arch/arm/boot/dts/omap3-lctr-a9xx.dts
|
||||
--- linux-3.13.1/arch/arm/boot/dts/omap3-lctr-a9xx.dts 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ linux-3.13.1.rasm/arch/arm/boot/dts/omap3-lctr-a9xx.dts 2014-02-01 23:49:40.019073833 +0000
|
||||
@@ -0,0 +1,103 @@
|
||||
@@ -0,0 +1,89 @@
|
||||
+/*
|
||||
+ * Copyright (C) 2014 Universidade do Porto - Faculdade de Engenharia
|
||||
+ *
|
||||
@@ -68,20 +68,6 @@ diff -Nru linux-3.13.1/arch/arm/boot/dts/omap3-lctr-a9xx.dts linux-3.13.1.rasm/a
|
||||
+};
|
||||
+
|
||||
+&omap3_pmx_core {
|
||||
+ pinctrl-names = "default", "board";
|
||||
+ pinctrl-0 = <&hsusbb1_pins &board_pins>;
|
||||
+
|
||||
+ board_pins: pinmux_board_pins {
|
||||
+ pinctrl-single,pins = <
|
||||
+ /* gpio_133 - panel backlight */
|
||||
+ 0x130 (PIN_OUTPUT | MUX_MODE4)
|
||||
+ /* gpio_135 - panel LED */
|
||||
+ 0x132 (PIN_OUTPUT | MUX_MODE4)
|
||||
+ /* gpio_157 - transducer */
|
||||
+ 0x15e (PIN_INPUT_PULLUP | MUX_MODE4)
|
||||
+ >;
|
||||
+ };
|
||||
+
|
||||
+ gpio_keys_pins: pinmux_gpio_keys_pins {
|
||||
+ pinctrl-single,pins = <
|
||||
+ 0x136 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* gpio_137 - button 2 */
|
||||
|
Reference in New Issue
Block a user