dm8168-evm.dts revision 279385
1/* 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. 5 */ 6/dts-v1/; 7 8#include "dm816x.dtsi" 9 10/ { 11 model = "DM8168 EVM"; 12 compatible = "ti,dm8168-evm", "ti,dm8168"; 13 14 memory { 15 device_type = "memory"; 16 reg = <0x80000000 0x40000000 /* 1 GB */ 17 0xc0000000 0x40000000>; /* 1 GB */ 18 }; 19 20 /* FDC6331L controlled by SD_POW pin */ 21 vmmcsd_fixed: fixedregulator@0 { 22 compatible = "regulator-fixed"; 23 regulator-name = "vmmcsd_fixed"; 24 regulator-min-microvolt = <3300000>; 25 regulator-max-microvolt = <3300000>; 26 }; 27}; 28 29&dm816x_pinmux { 30 mcspi1_pins: pinmux_mcspi1_pins { 31 pinctrl-single,pins = < 32 DM816X_IOPAD(0x0a94, PIN_INPUT | MUX_MODE0) /* SPI_SCLK */ 33 DM816X_IOPAD(0x0a98, PIN_OUTPUT | MUX_MODE0) /* SPI_SCS0 */ 34 DM816X_IOPAD(0x0aa8, PIN_INPUT | MUX_MODE0) /* SPI_D0 */ 35 DM816X_IOPAD(0x0aac, PIN_INPUT | MUX_MODE0) /* SPI_D1 */ 36 >; 37 }; 38}; 39 40&i2c1 { 41 extgpio0: pcf8575@20 { 42 compatible = "nxp,pcf8575"; 43 reg = <0x20>; 44 gpio-controller; 45 #gpio-cells = <2>; 46 }; 47}; 48 49&i2c2 { 50 extgpio1: pcf8575@20 { 51 compatible = "nxp,pcf8575"; 52 reg = <0x20>; 53 gpio-controller; 54 #gpio-cells = <2>; 55 }; 56}; 57 58&gpmc { 59 ranges = <0 0 0x04000000 0x01000000>; /* CS0: 16MB for NAND */ 60 61 nand@0,0 { 62 linux,mtd-name= "micron,mt29f2g16aadwp"; 63 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ 64 #address-cells = <1>; 65 #size-cells = <1>; 66 ti,nand-ecc-opt = "bch8"; 67 nand-bus-width = <16>; 68 gpmc,device-width = <2>; 69 gpmc,sync-clk-ps = <0>; 70 gpmc,cs-on-ns = <0>; 71 gpmc,cs-rd-off-ns = <44>; 72 gpmc,cs-wr-off-ns = <44>; 73 gpmc,adv-on-ns = <6>; 74 gpmc,adv-rd-off-ns = <34>; 75 gpmc,adv-wr-off-ns = <44>; 76 gpmc,we-on-ns = <0>; 77 gpmc,we-off-ns = <40>; 78 gpmc,oe-on-ns = <0>; 79 gpmc,oe-off-ns = <54>; 80 gpmc,access-ns = <64>; 81 gpmc,rd-cycle-ns = <82>; 82 gpmc,wr-cycle-ns = <82>; 83 gpmc,wait-on-read = "true"; 84 gpmc,wait-on-write = "true"; 85 gpmc,bus-turnaround-ns = <0>; 86 gpmc,cycle2cycle-delay-ns = <0>; 87 gpmc,clk-activation-ns = <0>; 88 gpmc,wait-monitoring-ns = <0>; 89 gpmc,wr-access-ns = <40>; 90 gpmc,wr-data-mux-bus-ns = <0>; 91 partition@0 { 92 label = "X-Loader"; 93 reg = <0 0x80000>; 94 }; 95 partition@0x80000 { 96 label = "U-Boot"; 97 reg = <0x80000 0x1c0000>; 98 }; 99 partition@0x1c0000 { 100 label = "Environment"; 101 reg = <0x240000 0x40000>; 102 }; 103 partition@0x280000 { 104 label = "Kernel"; 105 reg = <0x280000 0x500000>; 106 }; 107 partition@0x780000 { 108 label = "Filesystem"; 109 reg = <0x780000 0xf880000>; 110 }; 111 }; 112}; 113 114&mcspi1 { 115 pinctrl-names = "default"; 116 pinctrl-0 = <&mcspi1_pins>; 117 118 m25p80@0 { 119 compatible = "w25x32"; 120 spi-max-frequency = <48000000>; 121 reg = <0>; 122 #address-cells = <1>; 123 #size-cells = <1>; 124 }; 125}; 126 127&mmc1 { 128 vmmc-supply = <&vmmcsd_fixed>; 129}; 130