Lokesh Vutla | e8e92b8 | 2015-09-19 16:26:55 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2014 Texas Instruments, Inc. |
| 3 | * |
Lokesh Vutla | e3187b9 | 2017-01-31 09:32:57 +0530 | [diff] [blame] | 4 | * Device Tree Source for K2G EVM |
Lokesh Vutla | e8e92b8 | 2015-09-19 16:26:55 +0530 | [diff] [blame] | 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 | |
Lokesh Vutla | e3187b9 | 2017-01-31 09:32:57 +0530 | [diff] [blame] | 12 | #include "keystone-k2g.dtsi" |
Lokesh Vutla | e8e92b8 | 2015-09-19 16:26:55 +0530 | [diff] [blame] | 13 | |
| 14 | / { |
| 15 | compatible = "ti,k2g-evm","ti,keystone"; |
Lokesh Vutla | e3187b9 | 2017-01-31 09:32:57 +0530 | [diff] [blame] | 16 | model = "Texas Instruments K2G General Purpose EVM"; |
Lokesh Vutla | e8e92b8 | 2015-09-19 16:26:55 +0530 | [diff] [blame] | 17 | |
| 18 | chosen { |
| 19 | stdout-path = &uart0; |
| 20 | }; |
| 21 | }; |
Mugunthan V N | 3784cc2 | 2016-02-02 15:51:37 +0530 | [diff] [blame] | 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 | }; |
Vignesh R | cefb8f3 | 2016-07-06 09:59:05 +0530 | [diff] [blame] | 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 | }; |
Vignesh R | 9b9f0f8 | 2016-07-06 10:20:57 +0530 | [diff] [blame] | 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 | }; |
Sekhar Nori | 2b2a137 | 2016-08-10 19:24:05 +0530 | [diff] [blame] | 103 | |
| 104 | &mmc0 { |
| 105 | status = "okay"; |
| 106 | }; |
| 107 | |
| 108 | &mmc1 { |
| 109 | status = "okay"; |
| 110 | }; |
Cooper Jr., Franklin | 910ad3e | 2017-04-20 10:25:48 -0500 | [diff] [blame] | 111 | |
| 112 | &i2c0 { |
| 113 | status = "okay"; |
| 114 | }; |
| 115 | |
| 116 | &i2c1 { |
| 117 | status = "okay"; |
| 118 | }; |