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