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