dm8168-evm.dts revision 295436
1279377Simp/* 2279377Simp * This program is free software; you can redistribute it and/or modify 3279377Simp * it under the terms of the GNU General Public License version 2 as 4279377Simp * published by the Free Software Foundation. 5279377Simp */ 6279377Simp/dts-v1/; 7279377Simp 8279377Simp#include "dm816x.dtsi" 9279377Simp 10279377Simp/ { 11279377Simp model = "DM8168 EVM"; 12279377Simp compatible = "ti,dm8168-evm", "ti,dm8168"; 13279377Simp 14279377Simp memory { 15279377Simp device_type = "memory"; 16279377Simp reg = <0x80000000 0x40000000 /* 1 GB */ 17279377Simp 0xc0000000 0x40000000>; /* 1 GB */ 18279377Simp }; 19279377Simp 20279377Simp /* FDC6331L controlled by SD_POW pin */ 21279377Simp vmmcsd_fixed: fixedregulator@0 { 22279377Simp compatible = "regulator-fixed"; 23279377Simp regulator-name = "vmmcsd_fixed"; 24279377Simp regulator-min-microvolt = <3300000>; 25279377Simp regulator-max-microvolt = <3300000>; 26279377Simp }; 27279377Simp}; 28279377Simp 29279377Simp&dm816x_pinmux { 30279377Simp mcspi1_pins: pinmux_mcspi1_pins { 31279377Simp pinctrl-single,pins = < 32295436Sandrew DM816X_IOPAD(0x0a94, MUX_MODE0) /* SPI_SCLK */ 33295436Sandrew DM816X_IOPAD(0x0a98, MUX_MODE0) /* SPI_SCS0 */ 34295436Sandrew DM816X_IOPAD(0x0aa8, MUX_MODE0) /* SPI_D0 */ 35295436Sandrew DM816X_IOPAD(0x0aac, MUX_MODE0) /* SPI_D1 */ 36279377Simp >; 37279377Simp }; 38295436Sandrew 39295436Sandrew mmc_pins: pinmux_mmc_pins { 40295436Sandrew pinctrl-single,pins = < 41295436Sandrew DM816X_IOPAD(0x0a70, MUX_MODE0) /* SD_POW */ 42295436Sandrew DM816X_IOPAD(0x0a74, MUX_MODE0) /* SD_CLK */ 43295436Sandrew DM816X_IOPAD(0x0a78, MUX_MODE0) /* SD_CMD */ 44295436Sandrew DM816X_IOPAD(0x0a7C, MUX_MODE0) /* SD_DAT0 */ 45295436Sandrew DM816X_IOPAD(0x0a80, MUX_MODE0) /* SD_DAT1 */ 46295436Sandrew DM816X_IOPAD(0x0a84, MUX_MODE0) /* SD_DAT2 */ 47295436Sandrew DM816X_IOPAD(0x0a88, MUX_MODE0) /* SD_DAT2 */ 48295436Sandrew DM816X_IOPAD(0x0a8c, MUX_MODE2) /* GP1[7] */ 49295436Sandrew DM816X_IOPAD(0x0a90, MUX_MODE2) /* GP1[8] */ 50295436Sandrew >; 51295436Sandrew }; 52295436Sandrew 53295436Sandrew usb0_pins: pinmux_usb0_pins { 54295436Sandrew pinctrl-single,pins = < 55295436Sandrew DM816X_IOPAD(0x0d04, MUX_MODE0) /* USB0_DRVVBUS */ 56295436Sandrew >; 57295436Sandrew }; 58295436Sandrew 59295436Sandrew usb1_pins: pinmux_usb1_pins { 60295436Sandrew pinctrl-single,pins = < 61295436Sandrew DM816X_IOPAD(0x0d08, MUX_MODE0) /* USB1_DRVVBUS */ 62295436Sandrew >; 63295436Sandrew }; 64279377Simp}; 65279377Simp 66279377Simp&i2c1 { 67279377Simp extgpio0: pcf8575@20 { 68279377Simp compatible = "nxp,pcf8575"; 69279377Simp reg = <0x20>; 70279377Simp gpio-controller; 71279377Simp #gpio-cells = <2>; 72279377Simp }; 73279377Simp}; 74279377Simp 75279377Simp&i2c2 { 76279377Simp extgpio1: pcf8575@20 { 77279377Simp compatible = "nxp,pcf8575"; 78279377Simp reg = <0x20>; 79279377Simp gpio-controller; 80279377Simp #gpio-cells = <2>; 81279377Simp }; 82279377Simp}; 83279377Simp 84279377Simp&gpmc { 85279377Simp ranges = <0 0 0x04000000 0x01000000>; /* CS0: 16MB for NAND */ 86279377Simp 87279377Simp nand@0,0 { 88279377Simp linux,mtd-name= "micron,mt29f2g16aadwp"; 89279377Simp reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ 90279377Simp #address-cells = <1>; 91279377Simp #size-cells = <1>; 92279377Simp ti,nand-ecc-opt = "bch8"; 93279377Simp nand-bus-width = <16>; 94279377Simp gpmc,device-width = <2>; 95279377Simp gpmc,sync-clk-ps = <0>; 96279377Simp gpmc,cs-on-ns = <0>; 97279377Simp gpmc,cs-rd-off-ns = <44>; 98279377Simp gpmc,cs-wr-off-ns = <44>; 99279377Simp gpmc,adv-on-ns = <6>; 100279377Simp gpmc,adv-rd-off-ns = <34>; 101279377Simp gpmc,adv-wr-off-ns = <44>; 102279377Simp gpmc,we-on-ns = <0>; 103279377Simp gpmc,we-off-ns = <40>; 104279377Simp gpmc,oe-on-ns = <0>; 105279377Simp gpmc,oe-off-ns = <54>; 106279377Simp gpmc,access-ns = <64>; 107279377Simp gpmc,rd-cycle-ns = <82>; 108279377Simp gpmc,wr-cycle-ns = <82>; 109279377Simp gpmc,wait-on-read = "true"; 110279377Simp gpmc,wait-on-write = "true"; 111279377Simp gpmc,bus-turnaround-ns = <0>; 112279377Simp gpmc,cycle2cycle-delay-ns = <0>; 113279377Simp gpmc,clk-activation-ns = <0>; 114279377Simp gpmc,wait-monitoring-ns = <0>; 115279377Simp gpmc,wr-access-ns = <40>; 116279377Simp gpmc,wr-data-mux-bus-ns = <0>; 117279377Simp partition@0 { 118279377Simp label = "X-Loader"; 119279377Simp reg = <0 0x80000>; 120279377Simp }; 121279377Simp partition@0x80000 { 122279377Simp label = "U-Boot"; 123279377Simp reg = <0x80000 0x1c0000>; 124279377Simp }; 125279377Simp partition@0x1c0000 { 126279377Simp label = "Environment"; 127279377Simp reg = <0x240000 0x40000>; 128279377Simp }; 129279377Simp partition@0x280000 { 130279377Simp label = "Kernel"; 131279377Simp reg = <0x280000 0x500000>; 132279377Simp }; 133279377Simp partition@0x780000 { 134279377Simp label = "Filesystem"; 135279377Simp reg = <0x780000 0xf880000>; 136279377Simp }; 137279377Simp }; 138279377Simp}; 139279377Simp 140279377Simp&mcspi1 { 141279377Simp pinctrl-names = "default"; 142279377Simp pinctrl-0 = <&mcspi1_pins>; 143279377Simp 144279377Simp m25p80@0 { 145279377Simp compatible = "w25x32"; 146279377Simp spi-max-frequency = <48000000>; 147279377Simp reg = <0>; 148279377Simp #address-cells = <1>; 149279377Simp #size-cells = <1>; 150279377Simp }; 151279377Simp}; 152279377Simp 153279377Simp&mmc1 { 154295436Sandrew pinctrl-names = "default"; 155295436Sandrew pinctrl-0 = <&mmc_pins>; 156279377Simp vmmc-supply = <&vmmcsd_fixed>; 157295436Sandrew bus-width = <4>; 158295436Sandrew cd-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>; 159295436Sandrew wp-gpios = <&gpio2 8 GPIO_ACTIVE_LOW>; 160279377Simp}; 161295436Sandrew 162295436Sandrew/* At least dm8168-evm rev c won't support multipoint, later may */ 163295436Sandrew&usb0 { 164295436Sandrew pinctrl-names = "default"; 165295436Sandrew pinctrl-0 = <&usb0_pins>; 166295436Sandrew mentor,multipoint = <0>; 167295436Sandrew}; 168295436Sandrew 169295436Sandrew&usb1 { 170295436Sandrew pinctrl-names = "default"; 171295436Sandrew pinctrl-0 = <&usb1_pins>; 172295436Sandrew mentor,multipoint = <0>; 173295436Sandrew}; 174