1/* 2 * Copyright 2014 Texas Instruments, Inc. 3 * 4 * Device Tree Source for K2G EVM 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/dts-v1/; 11 12#include "keystone-k2g.dtsi" 13 14/ { 15 compatible = "ti,k2g-evm","ti,keystone"; 16 model = "Texas Instruments K2G General Purpose EVM"; 17 18 chosen { 19 stdout-path = &uart0; 20 }; 21}; 22 23&mdio { 24 status = "okay"; 25 ethphy0: ethernet-phy@0 { 26 reg = <0>; 27 phy-mode = "rgmii-id"; 28 }; 29}; 30 31&gbe0 { 32 phy-handle = <ðphy0>; 33}; 34 35&spi1 { 36 status = "okay"; 37 38 spi_nor: flash@0 { 39 #address-cells = <1>; 40 #size-cells = <1>; 41 compatible = "spi-flash"; 42 spi-max-frequency = <50000000>; 43 m25p,fast-read; 44 reg = <0>; 45 46 partition@0 { 47 label = "u-boot-spl"; 48 reg = <0x0 0x80000>; 49 read-only; 50 }; 51 52 partition@1 { 53 label = "misc"; 54 reg = <0x80000 0xf80000>; 55 }; 56 }; 57}; 58 59&qspi { 60 status = "okay"; 61 62 flash0: m25p80@0 { 63 compatible = "s25fl512s","spi-flash"; 64 reg = <0>; 65 spi-tx-bus-width = <1>; 66 spi-rx-bus-width = <4>; 67 spi-max-frequency = <96000000>; 68 #address-cells = <1>; 69 #size-cells = <1>; 70 tshsl-ns = <392>; 71 tsd2d-ns = <392>; 72 tchsh-ns = <100>; 73 tslch-ns = <100>; 74 block-size = <18>; 75 76 77 partition@0 { 78 label = "QSPI.u-boot-spl-os"; 79 reg = <0x00000000 0x00100000>; 80 }; 81 partition@1 { 82 label = "QSPI.u-boot-env"; 83 reg = <0x00100000 0x00040000>; 84 }; 85 partition@2 { 86 label = "QSPI.skern"; 87 reg = <0x00140000 0x0040000>; 88 }; 89 partition@3 { 90 label = "QSPI.pmmc-firmware"; 91 reg = <0x00180000 0x0040000>; 92 }; 93 partition@4 { 94 label = "QSPI.kernel"; 95 reg = <0x001C0000 0x0800000>; 96 }; 97 partition@5 { 98 label = "QSPI.file-system"; 99 reg = <0x009C0000 0x3640000>; 100 }; 101 }; 102}; 103 104&mmc0 { 105 status = "okay"; 106}; 107 108&mmc1 { 109 status = "okay"; 110}; 111 112&i2c0 { 113 status = "okay"; 114}; 115 116&i2c1 { 117 status = "okay"; 118}; 119