Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'omap-for-v4.18/dt-part2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/dt

Second set of dts changes for omap variants for v4.18 merge window

This series of changes contains fixes for already queued tps65218
IRQ_TYPE, and fixes for omap3 and am335x use of IRQ_TYPE. There are
also addition of oscillator clock for logicpd omap3 boards and a series
of changes to improve support for am3517-evm board. And there is also
a change to configure WLAN for am437x-sk-evm.

* tag 'omap-for-v4.18/dt-part2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (24 commits)
ARM: dts: am3517-evm: Add User LEDs and Pushbutton
ARM: dts: am3517-evm: Add I/O expander for User DIP switches and LEDS
ARM: dts: logicpd-som-lv: Fix Touchscreen controller
ARM: dts: am3517-som: Add Seiko Instruments RTC s35390a
ARM: dts: am437x-sk-evm: add wilink8 support
ARM: dts: am3517-evm: Add LCD panel type 15 support
ARM: dts: am3517-som: Associate cpu to regulator supply
ARM: dts: am3517-som: Add TI TPS65023 regulators
ARM: dts: am3517-evm: Split off SOM features from baseboard
ARM: dts: am3517: Add pinmuxing, CD and WP for MMC1
ARM: dts: logicpd-som-lv: Add fixed 26MHz clock as fck for twl
ARM: dts: logicpd-torpedo: Add fixed 26MHz clock as fck for twl
ARM: dts: omap3-pandora-common: Use IRQ_TYPE specifier
ARM: dts: am335x-boneblue: Use IRQ_TYPE specifier
ARM: dts: am335x-baltos.dtsi: Use IRQ_TYPE specifier
ARM: dts: am335x-baltos-ir5221: Use IRQ_TYPE specifier
ARM: dts: am335x-baltos-ir3220: Use IRQ_TYPE specifier
Revert "ARM: dts: am437x-sk-evm: Correct tps65218 irq type"
ARM: dts: am437x-epos-evm: Fixup (again) tps65218 irq type
ARM: dts: am437x-cm-t43: Fixup (again) tps65218 irq type
...

Signed-off-by: Olof Johansson <olof@lixom.net>

+538 -22
+1 -1
arch/arm/boot/dts/am335x-baltos-ir3220.dts
··· 85 85 gpio-controller; 86 86 #gpio-cells = <2>; 87 87 interrupt-parent = <&gpio0>; 88 - interrupts = <20 GPIO_ACTIVE_LOW>; 88 + interrupts = <20 IRQ_TYPE_EDGE_RISING>; 89 89 pinctrl-names = "default"; 90 90 pinctrl-0 = <&tca6416_pins>; 91 91 };
+1 -1
arch/arm/boot/dts/am335x-baltos-ir5221.dts
··· 94 94 gpio-controller; 95 95 #gpio-cells = <2>; 96 96 interrupt-parent = <&gpio0>; 97 - interrupts = <20 GPIO_ACTIVE_LOW>; 97 + interrupts = <20 IRQ_TYPE_EDGE_RISING>; 98 98 pinctrl-names = "default"; 99 99 pinctrl-0 = <&tca6416_pins>; 100 100 };
+1 -1
arch/arm/boot/dts/am335x-baltos.dtsi
··· 249 249 gpio-controller; 250 250 #gpio-cells = <2>; 251 251 interrupt-parent = <&gpio1>; 252 - interrupts = <28 GPIO_ACTIVE_LOW>; 252 + interrupts = <28 IRQ_TYPE_EDGE_RISING>; 253 253 pinctrl-names = "default"; 254 254 pinctrl-0 = <&tps65910_pins>; 255 255 };
+1 -1
arch/arm/boot/dts/am335x-boneblue.dts
··· 364 364 compatible = "invensense,mpu9250"; 365 365 reg = <0x68>; 366 366 interrupt-parent = <&gpio3>; 367 - interrupts = <21 GPIO_ACTIVE_LOW>; 367 + interrupts = <21 IRQ_TYPE_EDGE_RISING>; 368 368 i2c-gate { 369 369 #address-cells = <1>; 370 370 #size-cells = <0>;
+2 -1
arch/arm/boot/dts/am335x-evmsk.dts
··· 137 137 }; 138 138 }; 139 139 140 - backlight { 140 + lcd_bl: backlight { 141 141 compatible = "pwm-backlight"; 142 142 pwms = <&ecap2 0 50000 PWM_POLARITY_INVERTED>; 143 143 brightness-levels = <0 58 61 66 75 90 125 170 255>; ··· 172 172 pinctrl-names = "default", "sleep"; 173 173 pinctrl-0 = <&lcd_pins_default>; 174 174 pinctrl-1 = <&lcd_pins_sleep>; 175 + backlight = <&lcd_bl>; 175 176 status = "okay"; 176 177 panel-info { 177 178 ac-bias = <255>;
+231 -2
arch/arm/boot/dts/am3517-evm.dts
··· 8 8 /dts-v1/; 9 9 10 10 #include "am3517.dtsi" 11 + #include "am3517-som.dtsi" 12 + #include <dt-bindings/input/input.h> 11 13 12 14 / { 13 15 model = "TI AM3517 EVM (AM3517/05 TMDSEVM3517)"; 14 16 compatible = "ti,am3517-evm", "ti,am3517", "ti,omap3"; 17 + 18 + aliases { 19 + display0 = &lcd0; 20 + }; 15 21 16 22 memory@80000000 { 17 23 device_type = "memory"; ··· 30 24 regulator-min-microvolt = <3300000>; 31 25 regulator-max-microvolt = <3300000>; 32 26 }; 27 + 28 + gpio-keys { 29 + compatible = "gpio-keys-polled"; 30 + poll-interval = <100>; 31 + 32 + user_pb { 33 + label = "User Push Button"; 34 + linux,code = <BTN_0>; 35 + gpios = <&tca6416 5 GPIO_ACTIVE_LOW>; 36 + }; 37 + 38 + user_sw_1 { 39 + label = "User Switch 1"; 40 + linux,code = <BTN_1>; 41 + gpios = <&tca6416 8 GPIO_ACTIVE_LOW>; 42 + }; 43 + 44 + user_sw_2 { 45 + label = "User Switch 2"; 46 + linux,code = <BTN_2>; 47 + gpios = <&tca6416 9 GPIO_ACTIVE_LOW>; 48 + }; 49 + 50 + user_sw_3 { 51 + label = "User Switch 3"; 52 + linux,code = <BTN_3>; 53 + gpios = <&tca6416 10 GPIO_ACTIVE_LOW>; 54 + }; 55 + 56 + user_sw_4 { 57 + label = "User Switch 4"; 58 + linux,code = <BTN_4>; 59 + gpios = <&tca6416 11 GPIO_ACTIVE_LOW>; 60 + }; 61 + 62 + user_sw_5 { 63 + label = "User Switch 5"; 64 + linux,code = <BTN_5>; 65 + gpios = <&tca6416 12 GPIO_ACTIVE_LOW>; 66 + }; 67 + 68 + user_sw_6 { 69 + label = "User Switch 6"; 70 + linux,code = <BTN_6>; 71 + gpios = <&tca6416 13 GPIO_ACTIVE_LOW>; 72 + }; 73 + 74 + user_sw_7 { 75 + label = "User Switch 7"; 76 + linux,code = <BTN_7>; 77 + gpios = <&tca6416 14 GPIO_ACTIVE_LOW>; 78 + }; 79 + 80 + user_sw_8 { 81 + label = "User Switch 8"; 82 + linux,code = <BTN_8>; 83 + gpios = <&tca6416 15 GPIO_ACTIVE_LOW>; 84 + }; 85 + }; 86 + 87 + gpio-leds { 88 + compatible = "gpio-leds"; 89 + 90 + pinctrl-names = "default"; 91 + pinctrl-0 = <&leds_pins>; 92 + 93 + user_led_1 { 94 + label = "am3517evm:green:user_led_1"; 95 + gpios = <&tca6416 7 GPIO_ACTIVE_LOW>; 96 + default-state = "on"; 97 + }; 98 + 99 + user_led_2 { 100 + label = "am3517evm:green:user_led_2"; 101 + gpios = <&tca6416 6 GPIO_ACTIVE_LOW>; 102 + default-state = "on"; 103 + }; 104 + 105 + user_led_3 { 106 + label = "am3517evm:green:user_led_3"; 107 + gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>; 108 + linux,default-trigger = "mmc0"; /* SD/MMC card activity */ 109 + }; 110 + 111 + user_led_4 { 112 + label = "am3517evm:green:user_led_4"; 113 + gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>; 114 + linux,default-trigger = "heartbeat"; 115 + }; 116 + }; 117 + 118 + lcd0: display@0 { 119 + compatible = "panel-dpi"; 120 + label = "15"; 121 + status = "okay"; 122 + pinctrl-names = "default"; 123 + enable-gpios = <&gpio6 16 GPIO_ACTIVE_HIGH>; /* gpio176, lcd INI */ 124 + 125 + port { 126 + lcd_in: endpoint { 127 + remote-endpoint = <&dpi_out>; 128 + }; 129 + }; 130 + 131 + panel-timing { 132 + clock-frequency = <9000000>; 133 + hactive = <480>; 134 + vactive = <272>; 135 + hfront-porch = <3>; 136 + hback-porch = <2>; 137 + hsync-len = <42>; 138 + vback-porch = <3>; 139 + vfront-porch = <4>; 140 + vsync-len = <11>; 141 + hsync-active = <0>; 142 + vsync-active = <0>; 143 + de-active = <1>; 144 + pixelclk-active = <1>; 145 + }; 146 + }; 147 + 148 + bl: backlight { 149 + compatible = "pwm-backlight"; 150 + pinctrl-names = "default"; 151 + pinctrl-0 = <&backlight_pins>; 152 + pwms = <&pwm11 0 5000000 0>; 153 + brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>; 154 + default-brightness-level = <7>; 155 + enable-gpios = <&gpio6 22 GPIO_ACTIVE_HIGH>; /* gpio_182 */ 156 + }; 157 + 158 + pwm11: dmtimer-pwm@11 { 159 + compatible = "ti,omap-dmtimer-pwm"; 160 + pinctrl-names = "default"; 161 + pinctrl-0 = <&pwm_pins>; 162 + ti,timers = <&timer11>; 163 + #pwm-cells = <3>; 164 + }; 33 165 }; 34 166 35 167 &davinci_emac { ··· 178 34 status = "okay"; 179 35 }; 180 36 181 - &i2c1 { 182 - clock-frequency = <400000>; 37 + &dss { 38 + status = "ok"; 39 + 40 + pinctrl-names = "default"; 41 + pinctrl-0 = <&dss_dpi_pins>; 42 + 43 + vdds_dsi-supply = <&vdd_io_reg>; 44 + vdda_video-supply = <&vdd_io_reg>; 45 + 46 + port { 47 + dpi_out: endpoint { 48 + remote-endpoint = <&lcd_in>; 49 + data-lines = <16>; 50 + }; 51 + }; 183 52 }; 184 53 185 54 &i2c2 { 186 55 clock-frequency = <400000>; 56 + /* User DIP swithes [1:8] / User LEDS [1:2] */ 57 + tca6416: gpio@21 { 58 + compatible = "ti,tca6416"; 59 + reg = <0x21>; 60 + gpio-controller; 61 + #gpio-cells = <2>; 62 + }; 187 63 }; 188 64 189 65 &i2c3 { ··· 211 47 }; 212 48 213 49 &mmc1 { 50 + status = "okay"; 51 + pinctrl-names = "default"; 52 + pinctrl-0 = <&mmc1_pins>; 214 53 vmmc-supply = <&vmmc_fixed>; 215 54 bus-width = <4>; 55 + wp-gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>; /* gpio_126 */ 56 + cd-gpios = <&gpio4 31 GPIO_ACTIVE_HIGH>; /* gpio_127 */ 216 57 }; 217 58 218 59 &mmc2 { ··· 228 59 status = "disabled"; 229 60 }; 230 61 62 + &omap3_pmx_core { 63 + 64 + leds_pins: pinmux_leds_pins { 65 + pinctrl-single,pins = < 66 + OMAP3_WKUP_IOPAD(0x2a24, PIN_OUTPUT_PULLUP | MUX_MODE4) /* jtag_emu0.gpio_11 */ 67 + OMAP3_WKUP_IOPAD(0x2a26, PIN_OUTPUT_PULLUP | MUX_MODE4) /* jtag_emu1.gpio_31 */ 68 + >; 69 + }; 70 + 71 + mmc1_pins: pinmux_mmc1_pins { 72 + pinctrl-single,pins = < 73 + OMAP3_CORE1_IOPAD(0x2144, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */ 74 + OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */ 75 + OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */ 76 + OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */ 77 + OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */ 78 + OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */ 79 + OMAP3_CORE1_IOPAD(0x2150, PIN_INPUT_PULLUP | MUX_MODE4) /* sdmmc1_dat4.gpio_126 */ 80 + OMAP3_CORE1_IOPAD(0x2152, PIN_INPUT_PULLUP | MUX_MODE4) /* sdmmc1_dat5.gpio_127 */ 81 + >; 82 + }; 83 + 84 + pwm_pins: pinmux_pwm_pins { 85 + pinctrl-single,pins = < 86 + OMAP3_CORE1_IOPAD(0x21dc, PIN_OUTPUT | MUX_MODE1) /* mcspi2_cs0.gpt11_pwm */ 87 + >; 88 + }; 89 + 90 + backlight_pins: pinmux_backlight_pins { 91 + pinctrl-single,pins = < 92 + OMAP3_CORE1_IOPAD(0x21de, PIN_OUTPUT | MUX_MODE4) /* mcspi2_cs1.gpio_182 */ 93 + >; 94 + }; 95 + 96 + dss_dpi_pins: pinmux_dss_dpi_pins { 97 + pinctrl-single,pins = < 98 + OMAP3_CORE1_IOPAD(0x21d2, PIN_OUTPUT | MUX_MODE4) /* mcspi1_cs2.gpio_176 */ 99 + OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */ 100 + OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT | MUX_MODE0) /* dss_hsync.dss_hsync */ 101 + OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT | MUX_MODE0) /* dss_vsync.dss_vsync */ 102 + OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT | MUX_MODE0) /* dss_acbias.dss_acbias */ 103 + OMAP3_CORE1_IOPAD(0x20dc, PIN_OUTPUT | MUX_MODE0) /* dss_data0.dss_data0 */ 104 + OMAP3_CORE1_IOPAD(0x20de, PIN_OUTPUT | MUX_MODE0) /* dss_data1.dss_data1 */ 105 + OMAP3_CORE1_IOPAD(0x20e0, PIN_OUTPUT | MUX_MODE0) /* dss_data2.dss_data2 */ 106 + OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE0) /* dss_data3.dss_data3 */ 107 + OMAP3_CORE1_IOPAD(0x20e4, PIN_OUTPUT | MUX_MODE0) /* dss_data4.dss_data4 */ 108 + OMAP3_CORE1_IOPAD(0x20e6, PIN_OUTPUT | MUX_MODE0) /* dss_data5.dss_data5 */ 109 + OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT | MUX_MODE0) /* dss_data6.dss_data6 */ 110 + OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT | MUX_MODE0) /* dss_data7.dss_data7 */ 111 + OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT | MUX_MODE0) /* dss_data8.dss_data8 */ 112 + OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT | MUX_MODE0) /* dss_data9.dss_data9 */ 113 + OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT | MUX_MODE0) /* dss_data10.dss_data10 */ 114 + OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT | MUX_MODE0) /* dss_data11.dss_data11 */ 115 + OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT | MUX_MODE0) /* dss_data12.dss_data12 */ 116 + OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT | MUX_MODE0) /* dss_data13.dss_data13 */ 117 + OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT | MUX_MODE0) /* dss_data14.dss_data14 */ 118 + OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT | MUX_MODE0) /* dss_data15.dss_data15 */ 119 + >; 120 + }; 121 + };
+142
arch/arm/boot/dts/am3517-som.dtsi
··· 1 + /* 2 + * Copyright (C) 2016 Derald D. Woods <woods.technical@gmail.com> 3 + * 4 + * Based on am3517-evm.dts 5 + * 6 + * This program is free software; you can redistribute it and/or modify 7 + * it under the terms of the GNU General Public License version 2 as 8 + * published by the Free Software Foundation. 9 + */ 10 + 11 + / { 12 + cpus { 13 + cpu@0 { 14 + cpu0-supply = <&vdd_core_reg>; 15 + }; 16 + }; 17 + }; 18 + 19 + &gpmc { 20 + ranges = <0 0 0x30000000 0x1000000>; /* CS0: 16MB for NAND */ 21 + 22 + nand@0,0 { 23 + compatible = "ti,omap2-nand"; 24 + linux,mtd-name = "micron,mt29f4g16abchch"; 25 + reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ 26 + nand-bus-width = <16>; 27 + ti,nand-ecc-opt = "bch8"; 28 + gpmc,sync-clk-ps = <0>; 29 + gpmc,cs-on-ns = <0>; 30 + gpmc,cs-rd-off-ns = <44>; 31 + gpmc,cs-wr-off-ns = <44>; 32 + gpmc,adv-on-ns = <6>; 33 + gpmc,adv-rd-off-ns = <34>; 34 + gpmc,adv-wr-off-ns = <44>; 35 + gpmc,we-off-ns = <40>; 36 + gpmc,oe-off-ns = <54>; 37 + gpmc,access-ns = <64>; 38 + gpmc,rd-cycle-ns = <82>; 39 + gpmc,wr-cycle-ns = <82>; 40 + gpmc,wr-access-ns = <40>; 41 + gpmc,wr-data-mux-bus-ns = <0>; 42 + gpmc,device-width = <2>; 43 + #address-cells = <1>; 44 + #size-cells = <1>; 45 + }; 46 + }; 47 + 48 + &i2c1 { 49 + clock-frequency = <400000>; 50 + 51 + s35390a: s35390a@30 { 52 + compatible = "sii,s35390a"; 53 + reg = <0x30>; 54 + 55 + pinctrl-names = "default"; 56 + pinctrl-0 = <&rtc_pins>; 57 + interrupts-extended = <&gpio2 23 IRQ_TYPE_EDGE_FALLING>; /* gpio_55 */ 58 + }; 59 + 60 + tps: tps65023@48 { 61 + compatible = "ti,tps65023"; 62 + reg = <0x48>; 63 + 64 + regulators { 65 + vdd_core_reg: VDCDC1 { 66 + regulator-name = "vdd_core"; 67 + compatible = "regulator-fixed"; 68 + regulator-always-on; 69 + regulator-min-microvolt = <1200000>; 70 + regulator-max-microvolt = <1200000>; 71 + }; 72 + 73 + vdd_io_reg: VDCDC2 { 74 + regulator-name = "vdd_io"; 75 + compatible = "regulator-fixed"; 76 + regulator-always-on; 77 + regulator-min-microvolt = <3300000>; 78 + regulator-max-microvolt = <3300000>; 79 + }; 80 + 81 + vdd_1v8_reg: VDCDC3 { 82 + regulator-name = "vdd_1v8"; 83 + compatible = "regulator-fixed"; 84 + regulator-always-on; 85 + regulator-min-microvolt = <1800000>; 86 + regulator-max-microvolt = <1800000>; 87 + }; 88 + 89 + vdd_usb18_reg: LDO1 { 90 + regulator-name = "vdd_usb18"; 91 + compatible = "regulator-fixed"; 92 + regulator-always-on; 93 + regulator-min-microvolt = <1800000>; 94 + regulator-max-microvolt = <1800000>; 95 + }; 96 + 97 + vdd_usb33_reg: LDO2 { 98 + regulator-name = "vdd_usb33"; 99 + compatible = "regulator-fixed"; 100 + regulator-always-on; 101 + regulator-min-microvolt = <3300000>; 102 + regulator-max-microvolt = <3300000>; 103 + }; 104 + }; 105 + }; 106 + 107 + touchscreen: tsc2004@4b { 108 + compatible = "ti,tsc2004"; 109 + reg = <0x4b>; 110 + 111 + vio-supply = <&vdd_io_reg>; 112 + 113 + pinctrl-names = "default"; 114 + pinctrl-0 = <&tsc2004_pins>; 115 + interrupts-extended = <&gpio3 1 IRQ_TYPE_EDGE_RISING>; /* gpio_65 */ 116 + 117 + touchscreen-fuzz-x = <4>; 118 + touchscreen-fuzz-y = <7>; 119 + touchscreen-fuzz-pressure = <2>; 120 + touchscreen-size-x = <480>; 121 + touchscreen-size-y = <272>; 122 + touchscreen-max-pressure = <2048>; 123 + 124 + ti,x-plate-ohms = <280>; 125 + ti,esd-recovery-timeout-ms = <8000>; 126 + }; 127 + }; 128 + 129 + &omap3_pmx_core { 130 + 131 + rtc_pins: pinmux_rtc_pins { 132 + pinctrl-single,pins = < 133 + OMAP3_CORE1_IOPAD(0x20b6, PIN_INPUT_PULLUP | MUX_MODE4) /* gpmc_ncs4.gpio_55 */ 134 + >; 135 + }; 136 + 137 + tsc2004_pins: pinmux_tsc2004_pins { 138 + pinctrl-single,pins = < 139 + OMAP3_CORE1_IOPAD(0x20d2, PIN_INPUT | MUX_MODE4) /* gpmc_wait3.gpio_65 */ 140 + >; 141 + }; 142 + };
+1 -1
arch/arm/boot/dts/am437x-cm-t43.dts
··· 203 203 tps65218: tps65218@24 { 204 204 compatible = "ti,tps65218"; 205 205 reg = <0x24>; 206 - interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_LOW>; /* NMIn */ 206 + interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; /* NMIn */ 207 207 interrupt-parent = <&gic>; 208 208 interrupt-controller; 209 209 #interrupt-cells = <2>;
+1 -1
arch/arm/boot/dts/am437x-gp-evm.dts
··· 543 543 tps65218: tps65218@24 { 544 544 reg = <0x24>; 545 545 compatible = "ti,tps65218"; 546 - interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_LOW>; /* NMIn */ 546 + interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; /* NMIn */ 547 547 interrupt-controller; 548 548 #interrupt-cells = <2>; 549 549
+116 -1
arch/arm/boot/dts/am437x-sk-evm.dts
··· 15 15 #include <dt-bindings/pwm/pwm.h> 16 16 #include <dt-bindings/gpio/gpio.h> 17 17 #include <dt-bindings/input/input.h> 18 + #include <dt-bindings/interrupt-controller/irq.h> 18 19 19 20 / { 20 21 model = "TI AM437x SK EVM"; ··· 158 157 remote-endpoint = <&dpi_out>; 159 158 }; 160 159 }; 160 + }; 161 + 162 + vmmcwl_fixed: fixedregulator-mmcwl { 163 + /* 164 + * WL_EN is not SDIO standard compliant. It is an out of band 165 + * signal and hard to be dealt with in a standard way by the 166 + * SDIO core driver. 167 + * So modelling the WL_EN line as a regulator was a natural 168 + * choice as the MMC core already deals with MMC supplies. 169 + */ 170 + compatible = "regulator-fixed"; 171 + regulator-name = "vmmcwl_fixed"; 172 + regulator-min-microvolt = <1800000>; 173 + regulator-max-microvolt = <1800000>; 174 + gpio = <&gpio4 8 GPIO_ACTIVE_HIGH>; 175 + enable-active-high; 161 176 }; 162 177 }; 163 178 ··· 435 418 AM4372_IOPAD(0xac4, PIN_OUTPUT | MUX_MODE0) /* usb0_drvvbus.usb0_drvvbus */ 436 419 >; 437 420 }; 421 + 422 + mmc3_pins_default: pinmux_mmc3_pins_default { 423 + pinctrl-single,pins = < 424 + AM4372_IOPAD(0x9f0, PIN_INPUT_PULLUP | MUX_MODE3) /* (AD21) cam1_data2.mmc2_clk */ 425 + AM4372_IOPAD(0x9f4, PIN_INPUT_PULLUP | MUX_MODE3) /* (AE22) cam1_data3.mmc2_cmd */ 426 + AM4372_IOPAD(0x9f8, PIN_INPUT_PULLUP | MUX_MODE3) /* (AD22) cam1_data4.mmc2_dat0 */ 427 + AM4372_IOPAD(0x9fc, PIN_INPUT_PULLUP | MUX_MODE3) /* (AE23) cam1_data5.mmc2_dat1 */ 428 + AM4372_IOPAD(0xa00, PIN_INPUT_PULLUP | MUX_MODE3) /* (AD23) cam1_data6.mmc2_dat2 */ 429 + AM4372_IOPAD(0xa04, PIN_INPUT_PULLUP | MUX_MODE3) /* (AE24) cam1_data7.mmc2_dat3 */ 430 + >; 431 + }; 432 + 433 + mmc3_pins_sleep: pinmux_mmc3_pins_sleep { 434 + pinctrl-single,pins = < 435 + AM4372_IOPAD(0x9f0, PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AD21) cam1_data2.mmc2_clk */ 436 + AM4372_IOPAD(0x9f4, PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AE22) cam1_data3.mmc2_cmd */ 437 + AM4372_IOPAD(0x9f8, PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AD22) cam1_data4.mmc2_dat0 */ 438 + AM4372_IOPAD(0x9fc, PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AE23) cam1_data5.mmc2_dat1 */ 439 + AM4372_IOPAD(0xa00, PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AD23) cam1_data6.mmc2_dat2 */ 440 + AM4372_IOPAD(0xa04, PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AE24) cam1_data7.mmc2_dat3 */ 441 + >; 442 + }; 443 + 444 + wlan_pins_default: pinmux_wlan_pins_default { 445 + pinctrl-single,pins = < 446 + AM4372_IOPAD(0x9d0, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* cam1_data8.gpio4_8 WL_EN */ 447 + AM4372_IOPAD(0x9e4, PIN_INPUT | WAKEUP_ENABLE | MUX_MODE7) /* cam1_wen.gpio4_13 WL_IRQ */ 448 + >; 449 + }; 450 + 451 + wlan_pins_sleep: pinmux_wlan_pins_sleep { 452 + pinctrl-single,pins = < 453 + AM4372_IOPAD(0x9d0, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* cam1_data8.gpio4_8 WL_EN */ 454 + AM4372_IOPAD(0x9e4, PIN_INPUT | WAKEUP_ENABLE | MUX_MODE7) /* cam1_wen.gpio4_13 WL_IRQ */ 455 + >; 456 + }; 457 + 458 + uart1_bt_pins_default: pinmux_uart1_bt_pins_default { 459 + pinctrl-single,pins = < 460 + AM4372_IOPAD(0x980, PIN_INPUT | MUX_MODE0) /* uart1_rxd.uart1_rxd */ 461 + AM4372_IOPAD(0x984, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_txd.uart1_txd */ 462 + AM4372_IOPAD(0x978, PIN_INPUT_PULLUP | MUX_MODE0) /* uart1_ctsn.uart1_ctsn */ 463 + AM4372_IOPAD(0x97c, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_rtsn.uart1_rtsn */ 464 + AM4372_IOPAD(0x9cc, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* cam1_data9.gpio4_7 BT_EN */ 465 + >; 466 + }; 467 + 468 + uart1_bt_pins_sleep: pinmux_uart1_bt_pins_sleep { 469 + pinctrl-single,pins = < 470 + AM4372_IOPAD(0x980, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* uart1_rxd.uart1_rxd */ 471 + AM4372_IOPAD(0x984, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* uart1_txd.uart1_txd */ 472 + AM4372_IOPAD(0x978, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* uart1_ctsn.uart1_ctsn */ 473 + AM4372_IOPAD(0x97c, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* uart1_rtsn.uart1_rtsn */ 474 + AM4372_IOPAD(0x9cc, PIN_OUTPUT_PULLUP | MUX_MODE7) /* cam1_data9.gpio4_7 BT_EN */ 475 + >; 476 + }; 438 477 }; 439 478 440 479 &i2c0 { ··· 502 429 tps@24 { 503 430 compatible = "ti,tps65218"; 504 431 reg = <0x24>; 505 - interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_LOW>; 432 + interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 506 433 interrupt-controller; 507 434 #interrupt-cells = <2>; 508 435 ··· 654 581 status = "okay"; 655 582 }; 656 583 584 + &gpio4 { 585 + status = "okay"; 586 + }; 587 + 657 588 &gpio5 { 658 589 status = "okay"; 659 590 }; ··· 670 593 vmmc-supply = <&dcdc4>; 671 594 bus-width = <4>; 672 595 cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; 596 + }; 597 + 598 + &uart1 { 599 + status = "okay"; 600 + pinctrl-names = "default", "sleep"; 601 + pinctrl-0 = <&uart1_bt_pins_default>; 602 + pinctrl-1 = <&uart1_bt_pins_sleep>; 603 + }; 604 + 605 + &mmc3 { 606 + status = "okay"; 607 + /* 608 + * these are on the crossbar and are outlined in the 609 + * xbar-event-map element 610 + */ 611 + dmas = <&edma_xbar 30 0 1>, 612 + <&edma_xbar 31 0 2>; 613 + dma-names = "tx", "rx"; 614 + vmmc-supply = <&vmmcwl_fixed>; 615 + bus-width = <4>; 616 + pinctrl-names = "default", "sleep"; 617 + pinctrl-0 = <&mmc3_pins_default>; 618 + pinctrl-1 = <&mmc3_pins_sleep>; 619 + cap-power-off-card; 620 + keep-power-in-suspend; 621 + ti,non-removable; 622 + 623 + #address-cells = <1>; 624 + #size-cells = <0>; 625 + wlcore: wlcore@2 { 626 + compatible = "ti,wl1835"; 627 + pinctrl-names = "default", "sleep"; 628 + pinctrl-0 = <&wlan_pins_default>; 629 + pinctrl-1 = <&wlan_pins_sleep>; 630 + reg = <2>; 631 + interrupt-parent = <&gpio4>; 632 + interrupts = <13 IRQ_TYPE_LEVEL_HIGH>; 633 + }; 673 634 }; 674 635 675 636 &usb2_phy1 {
+1 -1
arch/arm/boot/dts/am43x-epos-evm.dts
··· 595 595 tps65218: tps65218@24 { 596 596 reg = <0x24>; 597 597 compatible = "ti,tps65218"; 598 - interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_LOW>; /* NMIn */ 598 + interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; /* NMIn */ 599 599 interrupt-controller; 600 600 #interrupt-cells = <2>; 601 601
+15 -6
arch/arm/boot/dts/logicpd-som-lv.dtsi
··· 35 35 reset-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; /* gpio_4 */ 36 36 #phy-cells = <0>; 37 37 }; 38 + 39 + /* fixed 26MHz oscillator */ 40 + hfclk_26m: oscillator { 41 + #clock-cells = <0>; 42 + compatible = "fixed-clock"; 43 + clock-frequency = <26000000>; 44 + }; 38 45 }; 39 46 40 47 &gpmc { ··· 86 79 reg = <0x48>; 87 80 interrupts = <7>; /* SYS_NIRQ cascaded to intc */ 88 81 interrupt-parent = <&intc>; 82 + clocks = <&hfclk_26m>; 83 + clock-names = "fck"; 89 84 twl_audio: audio { 90 85 compatible = "ti,twl4030-audio"; 91 86 codec { ··· 99 90 &i2c2 { 100 91 pinctrl-names = "default"; 101 92 pinctrl-0 = <&i2c2_pins>; 93 + clock-frequency = <400000>; 94 + }; 95 + 96 + &i2c3 { 97 + pinctrl-names = "default"; 98 + pinctrl-0 = <&i2c3_pins>; 102 99 clock-frequency = <400000>; 103 100 104 101 touchscreen: tsc2004@48 { ··· 125 110 ti,x-plate-ohms = <280>; 126 111 ti,esd-recovery-timeout-ms = <8000>; 127 112 }; 128 - }; 129 - 130 - &i2c3 { 131 - pinctrl-names = "default"; 132 - pinctrl-0 = <&i2c3_pins>; 133 - clock-frequency = <400000>; 134 113 }; 135 114 136 115 &mmc3 {
+10
arch/arm/boot/dts/logicpd-torpedo-som.dtsi
··· 30 30 linux,default-trigger = "none"; 31 31 }; 32 32 }; 33 + 34 + /* fixed 26MHz oscillator */ 35 + hfclk_26m: oscillator { 36 + #clock-cells = <0>; 37 + compatible = "fixed-clock"; 38 + clock-frequency = <26000000>; 39 + }; 33 40 }; 34 41 35 42 &gpmc { ··· 81 74 reg = <0x48>; 82 75 interrupts = <7>; /* SYS_NIRQ cascaded to intc */ 83 76 interrupt-parent = <&intc>; 77 + clocks = <&hfclk_26m>; 78 + clock-names = "fck"; 79 + 84 80 twl_audio: audio { 85 81 compatible = "ti,twl4030-audio"; 86 82 codec {
+1 -1
arch/arm/boot/dts/omap3-cm-t3x.dtsi
··· 60 60 regulator-max-microvolt = <3300000>; 61 61 }; 62 62 63 - tv0: connector { 63 + tv0: svideo-connector { 64 64 compatible = "svideo-connector"; 65 65 label = "tv"; 66 66
+8 -1
arch/arm/boot/dts/omap3-devkit8000-common.dtsi
··· 349 349 vdda_dac-supply = <&vdac>; 350 350 351 351 port { 352 - dpi_dvi_out: endpoint { 352 + #address-cells = <1>; 353 + #size-cells = <0>; 354 + dpi_dvi_out: endpoint@0 { 355 + reg = <0>; 353 356 remote-endpoint = <&tfp410_in>; 354 357 data-lines = <24>; 358 + }; 359 + 360 + endpoint@1 { 361 + reg = <1>; 355 362 }; 356 363 }; 357 364 };
+4 -1
arch/arm/boot/dts/omap3-devkit8000-lcd-common.dtsi
··· 30 30 31 31 &dss { 32 32 port { 33 - dpi_lcd_out: endpoint { 33 + #address-cells = <1>; 34 + #size-cells = <0>; 35 + dpi_lcd_out: endpoint@1 { 36 + reg = <1>; 34 37 remote-endpoint = <&lcd_in>; 35 38 data-lines = <24>; 36 39 };
+1 -1
arch/arm/boot/dts/omap3-pandora-common.dtsi
··· 621 621 pinctrl-names = "default"; 622 622 pinctrl-0 = <&penirq_pins>; 623 623 interrupt-parent = <&gpio3>; 624 - interrupts = <30 0>; /* GPIO_94 */ 624 + interrupts = <30 IRQ_TYPE_NONE>; /* GPIO_94 */ 625 625 pendown-gpio = <&gpio3 30 GPIO_ACTIVE_HIGH>; 626 626 vcc-supply = <&vaux4>; 627 627
+1 -1
arch/arm/boot/dts/omap3-sb-t35.dtsi
··· 34 34 }; 35 35 }; 36 36 37 - dvi0: connector { 37 + dvi0: dvi-connector { 38 38 compatible = "dvi-connector"; 39 39 label = "dvi"; 40 40