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