2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License version 2 as
4 * published by the Free Software Foundation.
7 #include <dt-bindings/input/input.h>
17 compatible = "gpio-leds";
20 gpios = <&twl_gpio 18 GPIO_ACTIVE_LOW>; /* LEDA */
21 linux,default-trigger = "none";
25 wl12xx_vmmc: wl12xx_vmmc {
26 compatible = "regulator-fixed";
27 regulator-name = "vwl1271";
28 regulator-min-microvolt = <1800000>;
29 regulator-max-microvolt = <1800000>;
30 gpio = <&gpio5 29 0>; /* gpio157 */
31 startup-delay-us = <70000>;
33 vin-supply = <&vmmc2>;
38 ranges = <0 0 0x00000000 0x1000000>; /* CS0: 16MB for NAND */
41 linux,mtd-name = "micron,mt29f4g16abbda3w";
42 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
43 nand-bus-width = <16>;
44 ti,nand-ecc-opt = "bch8";
45 gpmc,sync-clk-ps = <0>;
47 gpmc,cs-rd-off-ns = <44>;
48 gpmc,cs-wr-off-ns = <44>;
50 gpmc,adv-rd-off-ns = <34>;
51 gpmc,adv-wr-off-ns = <44>;
52 gpmc,we-off-ns = <40>;
53 gpmc,oe-off-ns = <54>;
54 gpmc,access-ns = <64>;
55 gpmc,rd-cycle-ns = <82>;
56 gpmc,wr-cycle-ns = <82>;
57 gpmc,wr-access-ns = <40>;
58 gpmc,wr-data-mux-bus-ns = <0>;
59 gpmc,device-width = <2>;
63 /* u-boot uses mtdparts=omap2-nand.0:512k(x-loader),1920k(u-boot),128k(u-boot-env),4m(kernel),-(fs) */
72 reg = <0x80000 0x1e0000>;
75 bootloaders_env@260000 {
77 reg = <0x260000 0x20000>;
82 reg = <0x280000 0x400000>;
87 reg = <0x680000 0>; /* 0 = MTDPART_SIZ_FULL */
93 clock-frequency = <2600000>;
97 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
98 interrupt-parent = <&intc>;
103 * Only found on the wireless SOM. For the SOM without wireless, the pins for
104 * MMC3 can be routed with jumpers to the second MMC slot on the devkit and
105 * gpio157 is not connected. So this should be OK to keep common for now,
106 * probably device tree overlays is the way to go with the various SOM and
107 * jumpering combinations for the long run.
110 interrupts-extended = <&intc 94 &omap3_pmx_core2 0x46>;
111 pinctrl-0 = <&mmc3_pins &mmc3_core2_pins>;
112 pinctrl-names = "default";
113 vmmc-supply = <&wl12xx_vmmc>;
117 #address-cells = <1>;
120 compatible = "ti,wl1283";
122 interrupt-parent = <&gpio5>;
123 interrupts = <24 IRQ_TYPE_LEVEL_HIGH>; /* gpio 152 */
124 ref-clock-frequency = <26000000>;
129 mmc3_pins: pinmux_mm3_pins {
130 pinctrl-single,pins = <
131 OMAP3_CORE1_IOPAD(0x2164, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat4.sdmmc3_dat0 */
132 OMAP3_CORE1_IOPAD(0x2166, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat5.sdmmc3_dat1 */
133 OMAP3_CORE1_IOPAD(0x2168, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat6.sdmmc3_dat2 */
134 OMAP3_CORE1_IOPAD(0x216a, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat6.sdmmc3_dat3 */
135 OMAP3_CORE1_IOPAD(0x2184, PIN_INPUT_PULLUP | MUX_MODE4) /* mcbsp4_clkx.gpio_152 */
136 OMAP3_CORE1_IOPAD(0x218e, PIN_OUTPUT | MUX_MODE4) /* mcbsp1_fsr.gpio_157 */
142 mmc3_core2_pins: pinmux_mmc3_core2_pins {
143 pinctrl-single,pins = <
144 OMAP3630_CORE2_IOPAD(0x25d8, PIN_INPUT_PULLUP | MUX_MODE2) /* etk_clk.sdmmc3_clk */
145 OMAP3630_CORE2_IOPAD(0x25da, PIN_INPUT_PULLUP | MUX_MODE2) /* etk_ctl.sdmmc3_cmd */
150 #include "twl4030.dtsi"
151 #include "twl4030_omap3.dtsi"
155 compatible = "ti,twl4030-power-idle-osc-off", "ti,twl4030-power-idle";