Murali Karicheri | fc1c72e | 2014-02-24 10:56:48 -0500 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2014 Texas Instruments, Inc. |
| 3 | * |
| 4 | * Keystone 2 Lamarr EVM device tree |
| 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 | |
| 12 | #include "keystone.dtsi" |
Nishanth Menon | 5edafc2 | 2016-03-22 09:06:22 -0700 | [diff] [blame] | 13 | #include "keystone-k2l.dtsi" |
Murali Karicheri | fc1c72e | 2014-02-24 10:56:48 -0500 | [diff] [blame] | 14 | |
| 15 | / { |
Nishanth Menon | 91dca0f | 2015-10-03 17:02:56 -0700 | [diff] [blame] | 16 | compatible = "ti,k2l-evm", "ti,k2l", "ti,keystone"; |
Murali Karicheri | fc1c72e | 2014-02-24 10:56:48 -0500 | [diff] [blame] | 17 | model = "Texas Instruments Keystone 2 Lamarr EVM"; |
| 18 | |
| 19 | soc { |
| 20 | clocks { |
| 21 | refclksys: refclksys { |
| 22 | #clock-cells = <0>; |
| 23 | compatible = "fixed-clock"; |
| 24 | clock-frequency = <122880000>; |
| 25 | clock-output-names = "refclk-sys"; |
| 26 | }; |
| 27 | }; |
| 28 | }; |
| 29 | }; |
| 30 | |
| 31 | &usb_phy { |
| 32 | status = "okay"; |
| 33 | }; |
| 34 | |
Grygorii Strashko | 6449784 | 2016-08-31 16:29:59 -0400 | [diff] [blame] | 35 | &keystone_usb0 { |
Murali Karicheri | fc1c72e | 2014-02-24 10:56:48 -0500 | [diff] [blame] | 36 | status = "okay"; |
| 37 | }; |
Grygorii Strashko | e42d8a7 | 2014-04-08 14:46:07 +0300 | [diff] [blame] | 38 | |
Grygorii Strashko | 6449784 | 2016-08-31 16:29:59 -0400 | [diff] [blame] | 39 | &usb0 { |
| 40 | dr_mode = "host"; |
| 41 | }; |
| 42 | |
Grygorii Strashko | e42d8a7 | 2014-04-08 14:46:07 +0300 | [diff] [blame] | 43 | &i2c0 { |
| 44 | dtt@50 { |
| 45 | compatible = "at,24c1024"; |
| 46 | reg = <0x50>; |
| 47 | }; |
| 48 | }; |
Ivan Khoronzhuk | 29a61d8 | 2014-05-08 17:31:01 -0400 | [diff] [blame] | 49 | |
| 50 | &aemif { |
| 51 | cs0 { |
| 52 | #address-cells = <2>; |
| 53 | #size-cells = <1>; |
| 54 | clock-ranges; |
| 55 | ranges; |
| 56 | |
| 57 | ti,cs-chipselect = <0>; |
| 58 | /* all timings in nanoseconds */ |
| 59 | ti,cs-min-turnaround-ns = <12>; |
| 60 | ti,cs-read-hold-ns = <6>; |
| 61 | ti,cs-read-strobe-ns = <23>; |
| 62 | ti,cs-read-setup-ns = <9>; |
| 63 | ti,cs-write-hold-ns = <8>; |
| 64 | ti,cs-write-strobe-ns = <23>; |
| 65 | ti,cs-write-setup-ns = <8>; |
| 66 | |
| 67 | nand@0,0 { |
| 68 | compatible = "ti,keystone-nand","ti,davinci-nand"; |
| 69 | #address-cells = <1>; |
| 70 | #size-cells = <1>; |
| 71 | reg = <0 0 0x4000000 |
| 72 | 1 0 0x0000100>; |
| 73 | |
| 74 | ti,davinci-chipselect = <0>; |
| 75 | ti,davinci-mask-ale = <0x2000>; |
| 76 | ti,davinci-mask-cle = <0x4000>; |
| 77 | ti,davinci-mask-chipsel = <0>; |
| 78 | nand-ecc-mode = "hw"; |
| 79 | ti,davinci-ecc-bits = <4>; |
| 80 | nand-on-flash-bbt; |
| 81 | |
| 82 | partition@0 { |
| 83 | label = "u-boot"; |
| 84 | reg = <0x0 0x100000>; |
| 85 | read-only; |
| 86 | }; |
| 87 | |
| 88 | partition@100000 { |
| 89 | label = "params"; |
| 90 | reg = <0x100000 0x80000>; |
| 91 | read-only; |
| 92 | }; |
| 93 | |
| 94 | partition@180000 { |
| 95 | label = "ubifs"; |
| 96 | reg = <0x180000 0x7FE80000>; |
| 97 | }; |
| 98 | }; |
| 99 | }; |
| 100 | }; |
Grygorii Strashko | 18131ae | 2014-05-12 11:43:59 -0400 | [diff] [blame] | 101 | |
| 102 | &spi0 { |
| 103 | nor_flash: n25q128a11@0 { |
| 104 | #address-cells = <1>; |
| 105 | #size-cells = <1>; |
| 106 | compatible = "Micron,n25q128a11"; |
| 107 | spi-max-frequency = <54000000>; |
| 108 | m25p,fast-read; |
| 109 | reg = <0>; |
| 110 | |
| 111 | partition@0 { |
| 112 | label = "u-boot-spl"; |
| 113 | reg = <0x0 0x80000>; |
| 114 | read-only; |
| 115 | }; |
| 116 | |
| 117 | partition@1 { |
| 118 | label = "misc"; |
| 119 | reg = <0x80000 0xf80000>; |
| 120 | }; |
| 121 | }; |
| 122 | }; |
Grygorii Strashko | 469fddd | 2014-10-09 16:32:57 +0300 | [diff] [blame] | 123 | |
| 124 | &mdio { |
Murali Karicheri | 9df1469 | 2015-04-23 14:02:13 -0700 | [diff] [blame] | 125 | status = "ok"; |
Grygorii Strashko | 469fddd | 2014-10-09 16:32:57 +0300 | [diff] [blame] | 126 | ethphy0: ethernet-phy@0 { |
| 127 | compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22"; |
| 128 | reg = <0>; |
| 129 | }; |
| 130 | |
| 131 | ethphy1: ethernet-phy@1 { |
| 132 | compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22"; |
| 133 | reg = <1>; |
| 134 | }; |
| 135 | }; |