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 | |
Jean-Jacques Hiblot | d53653f | 2018-12-04 11:12:58 +0100 | [diff] [blame] | 36 | &keystone_usb0 { |
| 37 | status = "okay"; |
| 38 | }; |
| 39 | |
| 40 | &usb0_phy { |
| 41 | status = "okay"; |
| 42 | compatible = "nop-phy"; |
| 43 | }; |
| 44 | |
| 45 | &usb0 { |
| 46 | dr_mode = "host"; |
| 47 | status = "okay"; |
| 48 | }; |
| 49 | |
| 50 | &keystone_usb1 { |
| 51 | status = "okay"; |
| 52 | }; |
| 53 | |
| 54 | &usb1_phy { |
| 55 | compatible = "nop-phy"; |
| 56 | status = "okay"; |
| 57 | }; |
| 58 | |
| 59 | &usb1 { |
| 60 | dr_mode = "peripheral"; |
| 61 | status = "okay"; |
| 62 | }; |
| 63 | |
Mugunthan V N | 2c5bf6c | 2016-02-02 15:51:37 +0530 | [diff] [blame] | 64 | &gbe0 { |
| 65 | phy-handle = <ðphy0>; |
| 66 | }; |
Vignesh R | c8e7504 | 2016-07-06 09:59:05 +0530 | [diff] [blame] | 67 | |
Cooper Jr., Franklin | 42468c8 | 2017-06-16 17:25:30 -0500 | [diff] [blame] | 68 | &netcp { |
| 69 | status = "okay"; |
| 70 | }; |
| 71 | |
Vignesh R | c8e7504 | 2016-07-06 09:59:05 +0530 | [diff] [blame] | 72 | &spi1 { |
| 73 | status = "okay"; |
| 74 | |
| 75 | spi_nor: flash@0 { |
| 76 | #address-cells = <1>; |
| 77 | #size-cells = <1>; |
| 78 | compatible = "spi-flash"; |
| 79 | spi-max-frequency = <50000000>; |
| 80 | m25p,fast-read; |
| 81 | reg = <0>; |
| 82 | |
| 83 | partition@0 { |
| 84 | label = "u-boot-spl"; |
| 85 | reg = <0x0 0x80000>; |
| 86 | read-only; |
| 87 | }; |
| 88 | |
| 89 | partition@1 { |
| 90 | label = "misc"; |
| 91 | reg = <0x80000 0xf80000>; |
| 92 | }; |
| 93 | }; |
| 94 | }; |
Vignesh R | b60774f | 2016-07-06 10:20:57 +0530 | [diff] [blame] | 95 | |
| 96 | &qspi { |
| 97 | status = "okay"; |
| 98 | |
Jason Rush | 6e62b17 | 2018-01-23 17:13:10 -0600 | [diff] [blame] | 99 | flash0: m25p80@0 { |
| 100 | compatible = "s25fl512s","spi-flash"; |
| 101 | reg = <0>; |
| 102 | spi-tx-bus-width = <1>; |
| 103 | spi-rx-bus-width = <4>; |
| 104 | spi-max-frequency = <96000000>; |
| 105 | #address-cells = <1>; |
| 106 | #size-cells = <1>; |
| 107 | cdns,tshsl-ns = <392>; |
| 108 | cdns,tsd2d-ns = <392>; |
| 109 | cdns,tchsh-ns = <100>; |
| 110 | cdns,tslch-ns = <100>; |
Vignesh R | b60774f | 2016-07-06 10:20:57 +0530 | [diff] [blame] | 111 | block-size = <18>; |
| 112 | |
Jason Rush | 6e62b17 | 2018-01-23 17:13:10 -0600 | [diff] [blame] | 113 | partition@0 { |
| 114 | label = "QSPI.u-boot-spl-os"; |
| 115 | reg = <0x00000000 0x00100000>; |
| 116 | }; |
| 117 | partition@1 { |
| 118 | label = "QSPI.u-boot-env"; |
| 119 | reg = <0x00100000 0x00040000>; |
| 120 | }; |
| 121 | partition@2 { |
| 122 | label = "QSPI.skern"; |
| 123 | reg = <0x00140000 0x0040000>; |
| 124 | }; |
| 125 | partition@3 { |
| 126 | label = "QSPI.pmmc-firmware"; |
| 127 | reg = <0x00180000 0x0040000>; |
| 128 | }; |
| 129 | partition@4 { |
| 130 | label = "QSPI.kernel"; |
| 131 | reg = <0x001C0000 0x0800000>; |
| 132 | }; |
| 133 | partition@5 { |
| 134 | label = "QSPI.file-system"; |
| 135 | reg = <0x009C0000 0x3640000>; |
| 136 | }; |
| 137 | }; |
Vignesh R | b60774f | 2016-07-06 10:20:57 +0530 | [diff] [blame] | 138 | }; |
Sekhar Nori | ce52531 | 2016-08-10 19:24:05 +0530 | [diff] [blame] | 139 | |
| 140 | &mmc0 { |
| 141 | status = "okay"; |
| 142 | }; |
| 143 | |
| 144 | &mmc1 { |
| 145 | status = "okay"; |
| 146 | }; |
Cooper Jr., Franklin | 1eaa0b4 | 2017-04-20 10:25:48 -0500 | [diff] [blame] | 147 | |
| 148 | &i2c0 { |
| 149 | status = "okay"; |
| 150 | }; |
| 151 | |
| 152 | &i2c1 { |
| 153 | status = "okay"; |
| 154 | }; |