Lokesh Vutla | 2a9a842 | 2015-09-19 16:26:55 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2014 Texas Instruments, Inc. |
| 3 | * |
| 4 | * Keystone 2 Galileo 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 "k2g.dtsi" |
| 13 | |
| 14 | / { |
| 15 | compatible = "ti,k2g-evm","ti,keystone"; |
| 16 | model = "Texas Instruments Keystone 2 Galileo EVM"; |
| 17 | |
| 18 | chosen { |
| 19 | stdout-path = &uart0; |
| 20 | }; |
| 21 | }; |
Mugunthan V N | 2c5bf6c | 2016-02-02 15:51:37 +0530 | [diff] [blame] | 22 | |
| 23 | &mdio { |
| 24 | status = "okay"; |
| 25 | ethphy0: ethernet-phy@0 { |
| 26 | reg = <0>; |
| 27 | phy-mode = "rgmii-id"; |
| 28 | }; |
| 29 | }; |
| 30 | |
| 31 | &gbe0 { |
| 32 | phy-handle = <ðphy0>; |
| 33 | }; |
Vignesh R | c8e7504 | 2016-07-06 09:59:05 +0530 | [diff] [blame] | 34 | |
| 35 | &spi1 { |
| 36 | status = "okay"; |
| 37 | |
| 38 | spi_nor: flash@0 { |
| 39 | #address-cells = <1>; |
| 40 | #size-cells = <1>; |
| 41 | compatible = "spi-flash"; |
| 42 | spi-max-frequency = <50000000>; |
| 43 | m25p,fast-read; |
| 44 | reg = <0>; |
| 45 | |
| 46 | partition@0 { |
| 47 | label = "u-boot-spl"; |
| 48 | reg = <0x0 0x80000>; |
| 49 | read-only; |
| 50 | }; |
| 51 | |
| 52 | partition@1 { |
| 53 | label = "misc"; |
| 54 | reg = <0x80000 0xf80000>; |
| 55 | }; |
| 56 | }; |
| 57 | }; |
Vignesh R | b60774f | 2016-07-06 10:20:57 +0530 | [diff] [blame] | 58 | |
| 59 | &qspi { |
| 60 | status = "okay"; |
| 61 | |
| 62 | flash0: m25p80@0 { |
| 63 | compatible = "s25fl512s","spi-flash"; |
| 64 | reg = <0>; |
| 65 | spi-tx-bus-width = <1>; |
| 66 | spi-rx-bus-width = <4>; |
| 67 | spi-max-frequency = <96000000>; |
| 68 | #address-cells = <1>; |
| 69 | #size-cells = <1>; |
| 70 | tshsl-ns = <392>; |
| 71 | tsd2d-ns = <392>; |
| 72 | tchsh-ns = <100>; |
| 73 | tslch-ns = <100>; |
| 74 | block-size = <18>; |
| 75 | |
| 76 | |
| 77 | partition@0 { |
| 78 | label = "QSPI.u-boot-spl-os"; |
| 79 | reg = <0x00000000 0x00100000>; |
| 80 | }; |
| 81 | partition@1 { |
| 82 | label = "QSPI.u-boot-env"; |
| 83 | reg = <0x00100000 0x00040000>; |
| 84 | }; |
| 85 | partition@2 { |
| 86 | label = "QSPI.skern"; |
| 87 | reg = <0x00140000 0x0040000>; |
| 88 | }; |
| 89 | partition@3 { |
| 90 | label = "QSPI.pmmc-firmware"; |
| 91 | reg = <0x00180000 0x0040000>; |
| 92 | }; |
| 93 | partition@4 { |
| 94 | label = "QSPI.kernel"; |
| 95 | reg = <0x001C0000 0x0800000>; |
| 96 | }; |
| 97 | partition@5 { |
| 98 | label = "QSPI.file-system"; |
| 99 | reg = <0x009C0000 0x3640000>; |
| 100 | }; |
| 101 | }; |
| 102 | }; |