0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003 * ethernut5.dts - Device Tree file for Ethernut 5 board
0004 *
0005 * Copyright (C) 2012 egnite GmbH <info@egnite.de>
0006 */
0007 /dts-v1/;
0008 #include "at91sam9xe.dtsi"
0009
0010 / {
0011 model = "Ethernut 5";
0012 compatible = "egnite,ethernut5", "atmel,at91sam9260", "atmel,at91sam9";
0013
0014 chosen {
0015 bootargs = "console=ttyS0,115200 root=/dev/mtdblock0 rw rootfstype=jffs2";
0016 };
0017
0018 memory@20000000 {
0019 reg = <0x20000000 0x08000000>;
0020 };
0021
0022 clocks {
0023 slow_xtal {
0024 clock-frequency = <32768>;
0025 };
0026
0027 main_xtal {
0028 clock-frequency = <18432000>;
0029 };
0030 };
0031
0032 ahb {
0033 apb {
0034 dbgu: serial@fffff200 {
0035 status = "okay";
0036 };
0037
0038 tcb0: timer@fffa0000 {
0039 timer@0 {
0040 compatible = "atmel,tcb-timer";
0041 reg = <0>, <1>;
0042 };
0043
0044 timer@2 {
0045 compatible = "atmel,tcb-timer";
0046 reg = <2>;
0047 };
0048 };
0049
0050 usart0: serial@fffb0000 {
0051 status = "okay";
0052 };
0053
0054 usart1: serial@fffb4000 {
0055 status = "okay";
0056 };
0057
0058 macb0: ethernet@fffc4000 {
0059 phy-mode = "rmii";
0060 status = "okay";
0061 };
0062
0063 usb1: gadget@fffa4000 {
0064 atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
0065 status = "okay";
0066 };
0067 };
0068
0069 ebi: ebi@10000000 {
0070 status = "okay";
0071
0072 nand_controller: nand-controller {
0073 status = "okay";
0074 pinctrl-0 = <&pinctrl_nand_cs>;
0075 pinctrl-names = "default";
0076
0077 nand: nand@3 {
0078 reg = <0x3 0x0 0x800000>;
0079 cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
0080 nand-bus-width = <8>;
0081 nand-ecc-mode = "soft";
0082 nand-on-flash-bbt;
0083 label = "atmel_nand";
0084
0085 partitions {
0086 compatible = "fixed-partitions";
0087 #address-cells = <1>;
0088 #size-cells = <1>;
0089
0090 root@0 {
0091 label = "root";
0092 reg = <0x0 0x08000000>;
0093 };
0094
0095 data@20000 {
0096 label = "data";
0097 reg = <0x08000000 0x38000000>;
0098 };
0099 };
0100 };
0101 };
0102 };
0103
0104 usb0: ohci@500000 {
0105 num-ports = <2>;
0106 status = "okay";
0107 };
0108 };
0109
0110 i2c-gpio-0 {
0111 status = "okay";
0112
0113 pcf8563@50 {
0114 compatible = "nxp,pcf8563";
0115 reg = <0x51>;
0116 };
0117 };
0118 };