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.
9 #include <dt-bindings/interrupt-controller/irq.h>
13 compatible = "ti,dm8168-evm", "ti,dm8168";
16 device_type = "memory";
17 reg = <0x80000000 0x40000000 /* 1 GB */
18 0xc0000000 0x40000000>; /* 1 GB */
21 /* FDC6331L controlled by SD_POW pin */
22 vmmcsd_fixed: fixedregulator@0 {
23 compatible = "regulator-fixed";
24 regulator-name = "vmmcsd_fixed";
25 regulator-min-microvolt = <3300000>;
26 regulator-max-microvolt = <3300000>;
31 mcspi1_pins: pinmux_mcspi1_pins {
32 pinctrl-single,pins = <
33 DM816X_IOPAD(0x0a94, MUX_MODE0) /* SPI_SCLK */
34 DM816X_IOPAD(0x0a98, MUX_MODE0) /* SPI_SCS0 */
35 DM816X_IOPAD(0x0aa8, MUX_MODE0) /* SPI_D0 */
36 DM816X_IOPAD(0x0aac, MUX_MODE0) /* SPI_D1 */
40 mmc_pins: pinmux_mmc_pins {
41 pinctrl-single,pins = <
42 DM816X_IOPAD(0x0a70, MUX_MODE0) /* SD_POW */
43 DM816X_IOPAD(0x0a74, MUX_MODE0) /* SD_CLK */
44 DM816X_IOPAD(0x0a78, MUX_MODE0) /* SD_CMD */
45 DM816X_IOPAD(0x0a7C, MUX_MODE0) /* SD_DAT0 */
46 DM816X_IOPAD(0x0a80, MUX_MODE0) /* SD_DAT1 */
47 DM816X_IOPAD(0x0a84, MUX_MODE0) /* SD_DAT2 */
48 DM816X_IOPAD(0x0a88, MUX_MODE0) /* SD_DAT2 */
49 DM816X_IOPAD(0x0a8c, MUX_MODE2) /* GP1[7] */
50 DM816X_IOPAD(0x0a90, MUX_MODE2) /* GP1[8] */
54 usb0_pins: pinmux_usb0_pins {
55 pinctrl-single,pins = <
56 DM816X_IOPAD(0x0d04, MUX_MODE0) /* USB0_DRVVBUS */
60 usb1_pins: pinmux_usb1_pins {
61 pinctrl-single,pins = <
62 DM816X_IOPAD(0x0d08, MUX_MODE0) /* USB1_DRVVBUS */
68 extgpio0: pcf8575@20 {
69 compatible = "nxp,pcf8575";
77 extgpio1: pcf8575@20 {
78 compatible = "nxp,pcf8575";
86 ranges = <0 0 0x04000000 0x01000000>; /* CS0: 16MB for NAND */
89 compatible = "ti,omap2-nand";
90 linux,mtd-name= "micron,mt29f2g16aadwp";
91 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
92 interrupt-parent = <&gpmc>;
93 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
94 <1 IRQ_TYPE_NONE>; /* termcount */
97 ti,nand-ecc-opt = "bch8";
98 nand-bus-width = <16>;
99 gpmc,device-width = <2>;
100 gpmc,sync-clk-ps = <0>;
102 gpmc,cs-rd-off-ns = <44>;
103 gpmc,cs-wr-off-ns = <44>;
104 gpmc,adv-on-ns = <6>;
105 gpmc,adv-rd-off-ns = <34>;
106 gpmc,adv-wr-off-ns = <44>;
108 gpmc,we-off-ns = <40>;
110 gpmc,oe-off-ns = <54>;
111 gpmc,access-ns = <64>;
112 gpmc,rd-cycle-ns = <82>;
113 gpmc,wr-cycle-ns = <82>;
114 gpmc,wait-on-read = "true";
115 gpmc,wait-on-write = "true";
116 gpmc,bus-turnaround-ns = <0>;
117 gpmc,cycle2cycle-delay-ns = <0>;
118 gpmc,clk-activation-ns = <0>;
119 gpmc,wait-monitoring-ns = <0>;
120 gpmc,wr-access-ns = <40>;
121 gpmc,wr-data-mux-bus-ns = <0>;
128 reg = <0x80000 0x1c0000>;
131 label = "Environment";
132 reg = <0x240000 0x40000>;
136 reg = <0x280000 0x500000>;
139 label = "Filesystem";
140 reg = <0x780000 0xf880000>;
146 pinctrl-names = "default";
147 pinctrl-0 = <&mcspi1_pins>;
150 compatible = "w25x32";
151 spi-max-frequency = <48000000>;
153 #address-cells = <1>;
159 pinctrl-names = "default";
160 pinctrl-0 = <&mmc_pins>;
161 vmmc-supply = <&vmmcsd_fixed>;
163 cd-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>;
164 wp-gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
167 /* At least dm8168-evm rev c won't support multipoint, later may */
169 pinctrl-names = "default";
170 pinctrl-0 = <&usb0_pins>;
171 mentor,multipoint = <0>;
175 pinctrl-names = "default";
176 pinctrl-0 = <&usb1_pins>;
177 mentor,multipoint = <0>;