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