Wenyou Yang | 110fa97 | 2017-03-24 09:18:41 +0800 | [diff] [blame] | 1 | /* |
| 2 | * sama5d3xcm.dtsi - Device Tree Include file for SAMA5D3x CPU Module |
| 3 | * |
| 4 | * Copyright (C) 2013 Atmel, |
| 5 | * 2013 Ludovic Desroches <ludovic.desroches@atmel.com> |
| 6 | * |
| 7 | * Licensed under GPLv2 or later. |
| 8 | */ |
| 9 | |
| 10 | / { |
| 11 | compatible = "atmel,sama5d3xcm", "atmel,sama5d3", "atmel,sama5"; |
| 12 | |
| 13 | chosen { |
| 14 | bootargs = "rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs"; |
| 15 | stdout-path = "serial0:115200n8"; |
| 16 | }; |
| 17 | |
| 18 | memory { |
| 19 | reg = <0x20000000 0x20000000>; |
| 20 | }; |
| 21 | |
| 22 | clocks { |
| 23 | slow_xtal { |
| 24 | clock-frequency = <32768>; |
| 25 | }; |
| 26 | |
| 27 | main_xtal { |
| 28 | clock-frequency = <12000000>; |
| 29 | }; |
| 30 | }; |
| 31 | |
| 32 | ahb { |
| 33 | apb { |
| 34 | spi0: spi@f0004000 { |
| 35 | cs-gpios = <&pioD 13 0>, <0>, <0>, <0>; |
| 36 | }; |
| 37 | |
| 38 | macb0: ethernet@f0028000 { |
| 39 | phy-mode = "rgmii"; |
| 40 | #address-cells = <1>; |
| 41 | #size-cells = <0>; |
| 42 | |
| 43 | ethernet-phy@1 { |
| 44 | reg = <0x1>; |
| 45 | interrupt-parent = <&pioB>; |
| 46 | interrupts = <25 IRQ_TYPE_EDGE_FALLING>; |
James Byrne | 83f71ef | 2019-03-04 17:40:33 +0000 | [diff] [blame] | 47 | txen-skew-ps = <480>; |
| 48 | txc-skew-ps = <1800>; |
| 49 | rxdv-skew-ps = <240>; |
| 50 | rxc-skew-ps = <1800>; |
| 51 | rxd0-skew-ps = <240>; |
| 52 | rxd1-skew-ps = <240>; |
| 53 | rxd2-skew-ps = <240>; |
| 54 | rxd3-skew-ps = <240>; |
Wenyou Yang | 110fa97 | 2017-03-24 09:18:41 +0800 | [diff] [blame] | 55 | }; |
| 56 | |
| 57 | ethernet-phy@7 { |
| 58 | reg = <0x7>; |
| 59 | interrupt-parent = <&pioB>; |
| 60 | interrupts = <25 IRQ_TYPE_EDGE_FALLING>; |
James Byrne | 83f71ef | 2019-03-04 17:40:33 +0000 | [diff] [blame] | 61 | txen-skew-ps = <480>; |
| 62 | txc-skew-ps = <1800>; |
| 63 | rxdv-skew-ps = <240>; |
| 64 | rxc-skew-ps = <1800>; |
| 65 | rxd0-skew-ps = <240>; |
| 66 | rxd1-skew-ps = <240>; |
| 67 | rxd2-skew-ps = <240>; |
| 68 | rxd3-skew-ps = <240>; |
Wenyou Yang | 110fa97 | 2017-03-24 09:18:41 +0800 | [diff] [blame] | 69 | }; |
| 70 | }; |
| 71 | }; |
| 72 | |
| 73 | nand0: nand@60000000 { |
| 74 | nand-bus-width = <8>; |
| 75 | nand-ecc-mode = "hw"; |
| 76 | atmel,has-pmecc; |
| 77 | atmel,pmecc-cap = <4>; |
| 78 | atmel,pmecc-sector-size = <512>; |
| 79 | nand-on-flash-bbt; |
| 80 | status = "okay"; |
| 81 | |
| 82 | at91bootstrap@0 { |
| 83 | label = "at91bootstrap"; |
| 84 | reg = <0x0 0x40000>; |
| 85 | }; |
| 86 | |
| 87 | bootloader@40000 { |
| 88 | label = "bootloader"; |
| 89 | reg = <0x40000 0x80000>; |
| 90 | }; |
| 91 | |
| 92 | bootloaderenv@c0000 { |
| 93 | label = "bootloader env"; |
| 94 | reg = <0xc0000 0xc0000>; |
| 95 | }; |
| 96 | |
| 97 | dtb@180000 { |
| 98 | label = "device tree"; |
| 99 | reg = <0x180000 0x80000>; |
| 100 | }; |
| 101 | |
| 102 | kernel@200000 { |
| 103 | label = "kernel"; |
| 104 | reg = <0x200000 0x600000>; |
| 105 | }; |
| 106 | |
| 107 | rootfs@800000 { |
| 108 | label = "rootfs"; |
| 109 | reg = <0x800000 0x0f800000>; |
| 110 | }; |
| 111 | }; |
| 112 | }; |
| 113 | |
| 114 | leds { |
| 115 | compatible = "gpio-leds"; |
| 116 | |
| 117 | d2 { |
| 118 | label = "d2"; |
| 119 | gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */ |
| 120 | linux,default-trigger = "heartbeat"; |
| 121 | }; |
| 122 | }; |
| 123 | }; |