Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | /* |
| 3 | * sama5d3xcm_cmp.dtsi - Device Tree Include file for SAMA5D36 CMP CPU Module |
| 4 | * |
| 5 | * Copyright (C) 2016 Atmel, |
| 6 | */ |
| 7 | |
| 8 | / { |
| 9 | compatible = "atmel,sama5d3xcm-cmp", "atmel,sama5d3", "atmel,sama5"; |
| 10 | |
| 11 | chosen { |
| 12 | stdout-path = "serial0:115200n8"; |
| 13 | }; |
| 14 | |
| 15 | memory@20000000 { |
| 16 | reg = <0x20000000 0x20000000>; |
| 17 | }; |
| 18 | |
| 19 | clocks { |
| 20 | slow_xtal { |
| 21 | clock-frequency = <32768>; |
| 22 | }; |
| 23 | |
| 24 | main_xtal { |
| 25 | clock-frequency = <12000000>; |
| 26 | }; |
| 27 | }; |
| 28 | |
| 29 | ahb { |
| 30 | apb { |
| 31 | spi0: spi@f0004000 { |
| 32 | cs-gpios = <&pioD 13 0>, <0>, <0>, <0>; |
| 33 | }; |
| 34 | |
| 35 | tcb0: timer@f0010000 { |
| 36 | timer@0 { |
| 37 | compatible = "atmel,tcb-timer"; |
| 38 | reg = <0>; |
| 39 | }; |
| 40 | |
| 41 | timer@1 { |
| 42 | compatible = "atmel,tcb-timer"; |
| 43 | reg = <1>; |
| 44 | }; |
| 45 | }; |
| 46 | |
| 47 | macb0: ethernet@f0028000 { |
| 48 | phy-mode = "rgmii"; |
| 49 | #address-cells = <1>; |
| 50 | #size-cells = <0>; |
| 51 | |
| 52 | ethernet-phy@1 { |
| 53 | reg = <0x1>; |
| 54 | interrupt-parent = <&pioB>; |
| 55 | interrupts = <25 IRQ_TYPE_EDGE_FALLING>; |
| 56 | txen-skew-ps = <800>; |
| 57 | txc-skew-ps = <3000>; |
| 58 | rxdv-skew-ps = <400>; |
| 59 | rxc-skew-ps = <3000>; |
| 60 | rxd0-skew-ps = <400>; |
| 61 | rxd1-skew-ps = <400>; |
| 62 | rxd2-skew-ps = <400>; |
| 63 | rxd3-skew-ps = <400>; |
| 64 | }; |
| 65 | |
| 66 | ethernet-phy@7 { |
| 67 | reg = <0x7>; |
| 68 | interrupt-parent = <&pioB>; |
| 69 | interrupts = <25 IRQ_TYPE_EDGE_FALLING>; |
| 70 | txen-skew-ps = <800>; |
| 71 | txc-skew-ps = <3000>; |
| 72 | rxdv-skew-ps = <400>; |
| 73 | rxc-skew-ps = <3000>; |
| 74 | rxd0-skew-ps = <400>; |
| 75 | rxd1-skew-ps = <400>; |
| 76 | rxd2-skew-ps = <400>; |
| 77 | rxd3-skew-ps = <400>; |
| 78 | }; |
| 79 | }; |
| 80 | |
| 81 | i2c1: i2c@f0018000 { |
| 82 | pmic: act8865@5b { |
| 83 | compatible = "active-semi,act8865"; |
| 84 | reg = <0x5b>; |
| 85 | status = "disabled"; |
| 86 | |
| 87 | regulators { |
| 88 | vcc_1v8_reg: DCDC_REG1 { |
| 89 | regulator-name = "VCC_1V8"; |
| 90 | regulator-min-microvolt = <1800000>; |
| 91 | regulator-max-microvolt = <1800000>; |
| 92 | regulator-always-on; |
| 93 | }; |
| 94 | |
| 95 | vcc_1v2_reg: DCDC_REG2 { |
| 96 | regulator-name = "VCC_1V2"; |
| 97 | regulator-min-microvolt = <1100000>; |
| 98 | regulator-max-microvolt = <1300000>; |
| 99 | regulator-always-on; |
| 100 | }; |
| 101 | |
| 102 | vcc_3v3_reg: DCDC_REG3 { |
| 103 | regulator-name = "VCC_3V3"; |
| 104 | regulator-min-microvolt = <3300000>; |
| 105 | regulator-max-microvolt = <3300000>; |
| 106 | regulator-always-on; |
| 107 | }; |
| 108 | |
| 109 | vddana_reg: LDO_REG1 { |
| 110 | regulator-name = "VDDANA"; |
| 111 | regulator-min-microvolt = <3300000>; |
| 112 | regulator-max-microvolt = <3300000>; |
| 113 | regulator-always-on; |
| 114 | }; |
| 115 | |
| 116 | vddfuse_reg: LDO_REG2 { |
| 117 | regulator-name = "FUSE_2V5"; |
| 118 | regulator-min-microvolt = <2500000>; |
| 119 | regulator-max-microvolt = <2500000>; |
| 120 | }; |
| 121 | }; |
| 122 | }; |
| 123 | }; |
| 124 | }; |
| 125 | |
| 126 | ebi: ebi@10000000 { |
| 127 | pinctrl-0 = <&pinctrl_ebi_nand_addr>; |
| 128 | pinctrl-names = "default"; |
| 129 | status = "okay"; |
| 130 | |
| 131 | nand_controller: nand-controller { |
| 132 | status = "okay"; |
| 133 | |
| 134 | nand@3 { |
| 135 | reg = <0x3 0x0 0x2>; |
| 136 | atmel,rb = <0>; |
| 137 | nand-bus-width = <8>; |
| 138 | nand-ecc-mode = "hw"; |
| 139 | nand-ecc-strength = <4>; |
| 140 | nand-ecc-step-size = <512>; |
| 141 | nand-on-flash-bbt; |
| 142 | label = "atmel_nand"; |
| 143 | |
| 144 | partitions { |
| 145 | compatible = "fixed-partitions"; |
| 146 | #address-cells = <1>; |
| 147 | #size-cells = <1>; |
| 148 | |
| 149 | at91bootstrap@0 { |
| 150 | label = "at91bootstrap"; |
| 151 | reg = <0x0 0x40000>; |
| 152 | }; |
| 153 | |
| 154 | bootloader@40000 { |
| 155 | label = "bootloader"; |
| 156 | reg = <0x40000 0x80000>; |
| 157 | }; |
| 158 | |
| 159 | bootloaderenv@c0000 { |
| 160 | label = "bootloader env"; |
| 161 | reg = <0xc0000 0xc0000>; |
| 162 | }; |
| 163 | |
| 164 | dtb@180000 { |
| 165 | label = "device tree"; |
| 166 | reg = <0x180000 0x80000>; |
| 167 | }; |
| 168 | |
| 169 | kernel@200000 { |
| 170 | label = "kernel"; |
| 171 | reg = <0x200000 0x600000>; |
| 172 | }; |
| 173 | |
| 174 | rootfs@800000 { |
| 175 | label = "rootfs"; |
| 176 | reg = <0x800000 0x0f800000>; |
| 177 | }; |
| 178 | }; |
| 179 | }; |
| 180 | }; |
| 181 | }; |
| 182 | }; |
| 183 | |
| 184 | leds { |
| 185 | compatible = "gpio-leds"; |
| 186 | |
| 187 | led-d2 { |
| 188 | label = "d2"; |
| 189 | gpios = <&pioE 25 GPIO_ACTIVE_LOW>; |
| 190 | linux,default-trigger = "heartbeat"; |
| 191 | }; |
| 192 | }; |
| 193 | }; |