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