Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003  * sama5d3xcm_cmp.dtsi - Device Tree Include file for SAMA5D36 CMP CPU Module
0004  *
0005  *  Copyright (C) 2016 Atmel,
0006  */
0007 
0008 / {
0009         compatible = "atmel,sama5d3xcm-cmp", "atmel,sama5d3", "atmel,sama5";
0010 
0011         chosen {
0012                 stdout-path = "serial0:115200n8";
0013         };
0014 
0015         memory@20000000 {
0016                 reg = <0x20000000 0x20000000>;
0017         };
0018 
0019         clocks {
0020                 slow_xtal {
0021                         clock-frequency = <32768>;
0022                 };
0023 
0024                 main_xtal {
0025                         clock-frequency = <12000000>;
0026                 };
0027         };
0028 
0029         ahb {
0030                 apb {
0031                         spi0: spi@f0004000 {
0032                                 cs-gpios = <&pioD 13 0>, <0>, <0>, <0>;
0033                         };
0034 
0035                         tcb0: timer@f0010000 {
0036                                 timer@0 {
0037                                         compatible = "atmel,tcb-timer";
0038                                         reg = <0>;
0039                                 };
0040 
0041                                 timer@1 {
0042                                         compatible = "atmel,tcb-timer";
0043                                         reg = <1>;
0044                                 };
0045                         };
0046 
0047                         macb0: ethernet@f0028000 {
0048                                 phy-mode = "rgmii";
0049                                 #address-cells = <1>;
0050                                 #size-cells = <0>;
0051 
0052                                 ethernet-phy@1 {
0053                                         reg = <0x1>;
0054                                         interrupt-parent = <&pioB>;
0055                                         interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
0056                                         txen-skew-ps = <800>;
0057                                         txc-skew-ps = <3000>;
0058                                         rxdv-skew-ps = <400>;
0059                                         rxc-skew-ps = <3000>;
0060                                         rxd0-skew-ps = <400>;
0061                                         rxd1-skew-ps = <400>;
0062                                         rxd2-skew-ps = <400>;
0063                                         rxd3-skew-ps = <400>;
0064                                 };
0065 
0066                                 ethernet-phy@7 {
0067                                         reg = <0x7>;
0068                                         interrupt-parent = <&pioB>;
0069                                         interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
0070                                         txen-skew-ps = <800>;
0071                                         txc-skew-ps = <3000>;
0072                                         rxdv-skew-ps = <400>;
0073                                         rxc-skew-ps = <3000>;
0074                                         rxd0-skew-ps = <400>;
0075                                         rxd1-skew-ps = <400>;
0076                                         rxd2-skew-ps = <400>;
0077                                         rxd3-skew-ps = <400>;
0078                                 };
0079                         };
0080 
0081                         i2c1: i2c@f0018000 {
0082                                 pmic: act8865@5b {
0083                                         compatible = "active-semi,act8865";
0084                                         reg = <0x5b>;
0085                                         status = "disabled";
0086 
0087                                         regulators {
0088                                                 vcc_1v8_reg: DCDC_REG1 {
0089                                                         regulator-name = "VCC_1V8";
0090                                                         regulator-min-microvolt = <1800000>;
0091                                                         regulator-max-microvolt = <1800000>;
0092                                                         regulator-always-on;
0093                                                 };
0094 
0095                                                 vcc_1v2_reg: DCDC_REG2 {
0096                                                         regulator-name = "VCC_1V2";
0097                                                         regulator-min-microvolt = <1100000>;
0098                                                         regulator-max-microvolt = <1300000>;
0099                                                         regulator-always-on;
0100                                                 };
0101 
0102                                                 vcc_3v3_reg: DCDC_REG3 {
0103                                                         regulator-name = "VCC_3V3";
0104                                                         regulator-min-microvolt = <3300000>;
0105                                                         regulator-max-microvolt = <3300000>;
0106                                                         regulator-always-on;
0107                                                 };
0108 
0109                                                 vddana_reg: LDO_REG1 {
0110                                                         regulator-name = "VDDANA";
0111                                                         regulator-min-microvolt = <3300000>;
0112                                                         regulator-max-microvolt = <3300000>;
0113                                                         regulator-always-on;
0114                                                 };
0115 
0116                                                 vddfuse_reg: LDO_REG2 {
0117                                                         regulator-name = "FUSE_2V5";
0118                                                         regulator-min-microvolt = <2500000>;
0119                                                         regulator-max-microvolt = <2500000>;
0120                                                 };
0121                                         };
0122                                 };
0123                         };
0124                 };
0125 
0126                 ebi: ebi@10000000 {
0127                         pinctrl-0 = <&pinctrl_ebi_nand_addr>;
0128                         pinctrl-names = "default";
0129                         status = "okay";
0130 
0131                         nand_controller: nand-controller {
0132                                 status = "okay";
0133 
0134                                 nand@3 {
0135                                         reg = <0x3 0x0 0x2>;
0136                                         atmel,rb = <0>;
0137                                         nand-bus-width = <8>;
0138                                         nand-ecc-mode = "hw";
0139                                         nand-ecc-strength = <4>;
0140                                         nand-ecc-step-size = <512>;
0141                                         nand-on-flash-bbt;
0142                                         label = "atmel_nand";
0143 
0144                                         partitions {
0145                                                 compatible = "fixed-partitions";
0146                                                 #address-cells = <1>;
0147                                                 #size-cells = <1>;
0148 
0149                                                 at91bootstrap@0 {
0150                                                         label = "at91bootstrap";
0151                                                         reg = <0x0 0x40000>;
0152                                                 };
0153 
0154                                                 bootloader@40000 {
0155                                                         label = "bootloader";
0156                                                         reg = <0x40000 0x80000>;
0157                                                 };
0158 
0159                                                 bootloaderenv@c0000 {
0160                                                         label = "bootloader env";
0161                                                         reg = <0xc0000 0xc0000>;
0162                                                 };
0163 
0164                                                 dtb@180000 {
0165                                                         label = "device tree";
0166                                                         reg = <0x180000 0x80000>;
0167                                                 };
0168 
0169                                                 kernel@200000 {
0170                                                         label = "kernel";
0171                                                         reg = <0x200000 0x600000>;
0172                                                 };
0173 
0174                                                 rootfs@800000 {
0175                                                         label = "rootfs";
0176                                                         reg = <0x800000 0x0f800000>;
0177                                                 };
0178                                         };
0179                                 };
0180                         };
0181                 };
0182         };
0183 
0184         leds {
0185                 compatible = "gpio-leds";
0186 
0187                 d2 {
0188                         label = "d2";
0189                         gpios = <&pioE 25 GPIO_ACTIVE_LOW>;
0190                         linux,default-trigger = "heartbeat";
0191                 };
0192         };
0193 };