Andrew Davis | 856ec34 | 2023-04-11 13:25:02 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Lokesh Vutla | 8c54a15 | 2015-09-19 15:00:21 +0530 | [diff] [blame] | 2 | /* |
Lokesh Vutla | 8c54a15 | 2015-09-19 15:00:21 +0530 | [diff] [blame] | 3 | * Keystone 2 Lamarr EVM device tree |
| 4 | * |
Andrew Davis | 856ec34 | 2023-04-11 13:25:02 -0500 | [diff] [blame] | 5 | * Copyright (C) 2014-2017 Texas Instruments Incorporated - http://www.ti.com/ |
Lokesh Vutla | 8c54a15 | 2015-09-19 15:00:21 +0530 | [diff] [blame] | 6 | */ |
| 7 | /dts-v1/; |
| 8 | |
| 9 | #include "keystone.dtsi" |
Lokesh Vutla | e3187b9 | 2017-01-31 09:32:57 +0530 | [diff] [blame] | 10 | #include "keystone-k2l.dtsi" |
Lokesh Vutla | 8c54a15 | 2015-09-19 15:00:21 +0530 | [diff] [blame] | 11 | |
| 12 | / { |
| 13 | compatible = "ti,k2l-evm","ti,keystone"; |
| 14 | model = "Texas Instruments Keystone 2 Lamarr EVM"; |
| 15 | |
| 16 | soc { |
| 17 | clocks { |
| 18 | refclksys: refclksys { |
| 19 | #clock-cells = <0>; |
| 20 | compatible = "fixed-clock"; |
| 21 | clock-frequency = <122880000>; |
| 22 | clock-output-names = "refclk-sys"; |
| 23 | }; |
| 24 | }; |
| 25 | }; |
| 26 | }; |
| 27 | |
| 28 | &usb_phy { |
| 29 | status = "okay"; |
| 30 | }; |
| 31 | |
| 32 | &usb { |
| 33 | status = "okay"; |
| 34 | }; |
| 35 | |
| 36 | &i2c0 { |
| 37 | dtt@50 { |
| 38 | compatible = "at,24c1024"; |
| 39 | reg = <0x50>; |
| 40 | }; |
| 41 | }; |
| 42 | |
| 43 | &aemif { |
| 44 | cs0 { |
| 45 | #address-cells = <2>; |
| 46 | #size-cells = <1>; |
| 47 | clock-ranges; |
| 48 | ranges; |
| 49 | |
| 50 | ti,cs-chipselect = <0>; |
| 51 | /* all timings in nanoseconds */ |
| 52 | ti,cs-min-turnaround-ns = <12>; |
| 53 | ti,cs-read-hold-ns = <6>; |
| 54 | ti,cs-read-strobe-ns = <23>; |
| 55 | ti,cs-read-setup-ns = <9>; |
| 56 | ti,cs-write-hold-ns = <8>; |
| 57 | ti,cs-write-strobe-ns = <23>; |
| 58 | ti,cs-write-setup-ns = <8>; |
| 59 | |
| 60 | nand@0,0 { |
| 61 | compatible = "ti,keystone-nand","ti,davinci-nand"; |
| 62 | #address-cells = <1>; |
| 63 | #size-cells = <1>; |
| 64 | reg = <0 0 0x4000000 |
| 65 | 1 0 0x0000100>; |
| 66 | |
| 67 | ti,davinci-chipselect = <0>; |
| 68 | ti,davinci-mask-ale = <0x2000>; |
| 69 | ti,davinci-mask-cle = <0x4000>; |
| 70 | ti,davinci-mask-chipsel = <0>; |
| 71 | nand-ecc-mode = "hw"; |
| 72 | ti,davinci-ecc-bits = <4>; |
| 73 | nand-on-flash-bbt; |
| 74 | |
| 75 | partition@0 { |
| 76 | label = "u-boot"; |
| 77 | reg = <0x0 0x100000>; |
| 78 | read-only; |
| 79 | }; |
| 80 | |
| 81 | partition@100000 { |
| 82 | label = "params"; |
| 83 | reg = <0x100000 0x80000>; |
| 84 | read-only; |
| 85 | }; |
| 86 | |
| 87 | partition@180000 { |
| 88 | label = "ubifs"; |
| 89 | reg = <0x180000 0x7FE80000>; |
| 90 | }; |
| 91 | }; |
| 92 | }; |
| 93 | }; |
| 94 | |
| 95 | &spi0 { |
Vignesh R | 6ceed0b | 2016-07-06 09:59:03 +0530 | [diff] [blame] | 96 | status ="okay"; |
Andrew Davis | 33e399a | 2023-04-11 13:25:09 -0500 | [diff] [blame] | 97 | nor_flash: flash@0 { |
Lokesh Vutla | 8c54a15 | 2015-09-19 15:00:21 +0530 | [diff] [blame] | 98 | #address-cells = <1>; |
| 99 | #size-cells = <1>; |
Neil Armstrong | a009fa7 | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 100 | compatible = "Micron,n25q128a11", "jedec,spi-nor"; |
Lokesh Vutla | 8c54a15 | 2015-09-19 15:00:21 +0530 | [diff] [blame] | 101 | spi-max-frequency = <54000000>; |
| 102 | m25p,fast-read; |
| 103 | reg = <0>; |
| 104 | |
| 105 | partition@0 { |
| 106 | label = "u-boot-spl"; |
| 107 | reg = <0x0 0x80000>; |
| 108 | read-only; |
| 109 | }; |
| 110 | |
| 111 | partition@1 { |
| 112 | label = "misc"; |
| 113 | reg = <0x80000 0xf80000>; |
| 114 | }; |
| 115 | }; |
| 116 | }; |
| 117 | |
| 118 | &mdio { |
Roger Quadros | 0ffbc74 | 2021-08-24 14:07:27 +0300 | [diff] [blame] | 119 | status = "okay"; |
Lokesh Vutla | 8c54a15 | 2015-09-19 15:00:21 +0530 | [diff] [blame] | 120 | ethphy0: ethernet-phy@0 { |
| 121 | compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22"; |
| 122 | reg = <0>; |
| 123 | }; |
| 124 | |
| 125 | ethphy1: ethernet-phy@1 { |
| 126 | compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22"; |
| 127 | reg = <1>; |
| 128 | }; |
| 129 | }; |