1/* 2 * sama5d3xcm_cmp.dtsi - Device Tree Include file for SAMA5D36 CMP CPU Module 3 * 4 * Copyright (C) 2016 Atmel, 5 * 6 * Licensed under GPLv2 or later. 7 */ 8 9/ { 10 compatible = "atmel,sama5d3xcm", "atmel,sama5d3", "atmel,sama5"; 11 12 chosen { 13 bootargs = "rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs"; 14 stdout-path = "serial0:115200n8"; 15 }; 16 17 memory { 18 reg = <0x20000000 0x20000000>; 19 }; 20 21 clocks { 22 slow_xtal { 23 clock-frequency = <32768>; 24 }; 25 26 main_xtal { 27 clock-frequency = <12000000>; 28 }; 29 }; 30 31 ahb { 32 apb { 33 spi0: spi@f0004000 { 34 cs-gpios = <&pioD 13 0>, <0>, <0>, <0>; 35 }; 36 37 macb0: ethernet@f0028000 { 38 phy-mode = "rgmii"; 39 #address-cells = <1>; 40 #size-cells = <0>; 41 42 ethernet-phy@1 { 43 reg = <0x1>; 44 interrupt-parent = <&pioB>; 45 interrupts = <25 IRQ_TYPE_EDGE_FALLING>; 46 txen-skew-ps = <480>; 47 txc-skew-ps = <1800>; 48 rxdv-skew-ps = <240>; 49 rxc-skew-ps = <1800>; 50 rxd0-skew-ps = <240>; 51 rxd1-skew-ps = <240>; 52 rxd2-skew-ps = <240>; 53 rxd3-skew-ps = <240>; 54 }; 55 56 ethernet-phy@7 { 57 reg = <0x7>; 58 interrupt-parent = <&pioB>; 59 interrupts = <25 IRQ_TYPE_EDGE_FALLING>; 60 txen-skew-ps = <480>; 61 txc-skew-ps = <1800>; 62 rxdv-skew-ps = <240>; 63 rxc-skew-ps = <1800>; 64 rxd0-skew-ps = <240>; 65 rxd1-skew-ps = <240>; 66 rxd2-skew-ps = <240>; 67 rxd3-skew-ps = <240>; 68 }; 69 }; 70 71 i2c1: i2c@f0018000 { 72 pmic: act8865@5b { 73 compatible = "active-semi,act8865"; 74 reg = <0x5b>; 75 status = "disabled"; 76 77 regulators { 78 vcc_1v8_reg: DCDC_REG1 { 79 regulator-name = "VCC_1V8"; 80 regulator-min-microvolt = <1800000>; 81 regulator-max-microvolt = <1800000>; 82 regulator-always-on; 83 }; 84 85 vcc_1v2_reg: DCDC_REG2 { 86 regulator-name = "VCC_1V2"; 87 regulator-min-microvolt = <1100000>; 88 regulator-max-microvolt = <1300000>; 89 regulator-always-on; 90 }; 91 92 vcc_3v3_reg: DCDC_REG3 { 93 regulator-name = "VCC_3V3"; 94 regulator-min-microvolt = <3300000>; 95 regulator-max-microvolt = <3300000>; 96 regulator-always-on; 97 }; 98 99 vddana_reg: LDO_REG1 { 100 regulator-name = "VDDANA"; 101 regulator-min-microvolt = <3300000>; 102 regulator-max-microvolt = <3300000>; 103 regulator-always-on; 104 }; 105 106 vddfuse_reg: LDO_REG2 { 107 regulator-name = "FUSE_2V5"; 108 regulator-min-microvolt = <2500000>; 109 regulator-max-microvolt = <2500000>; 110 }; 111 }; 112 }; 113 }; 114 }; 115 116 nand0: nand@60000000 { 117 nand-bus-width = <8>; 118 nand-ecc-mode = "hw"; 119 atmel,has-pmecc; 120 atmel,pmecc-cap = <4>; 121 atmel,pmecc-sector-size = <512>; 122 nand-on-flash-bbt; 123 status = "okay"; 124 125 at91bootstrap@0 { 126 label = "at91bootstrap"; 127 reg = <0x0 0x40000>; 128 }; 129 130 bootloader@40000 { 131 label = "bootloader"; 132 reg = <0x40000 0x80000>; 133 }; 134 135 bootloaderenv@c0000 { 136 label = "bootloader env"; 137 reg = <0xc0000 0xc0000>; 138 }; 139 140 dtb@180000 { 141 label = "device tree"; 142 reg = <0x180000 0x80000>; 143 }; 144 145 kernel@200000 { 146 label = "kernel"; 147 reg = <0x200000 0x600000>; 148 }; 149 150 rootfs@800000 { 151 label = "rootfs"; 152 reg = <0x800000 0x0f800000>; 153 }; 154 }; 155 }; 156 157 leds { 158 compatible = "gpio-leds"; 159 160 d2 { 161 label = "d2"; 162 gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */ 163 linux,default-trigger = "heartbeat"; 164 }; 165 }; 166}; 167