1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * ethernut5.dts - Device Tree file for Ethernut 5 board 4f126890aSEmmanuel Vadot * 5f126890aSEmmanuel Vadot * Copyright (C) 2012 egnite GmbH <info@egnite.de> 6f126890aSEmmanuel Vadot */ 7f126890aSEmmanuel Vadot/dts-v1/; 8f126890aSEmmanuel Vadot#include "at91sam9xe.dtsi" 9f126890aSEmmanuel Vadot 10f126890aSEmmanuel Vadot/ { 11f126890aSEmmanuel Vadot model = "Ethernut 5"; 12f126890aSEmmanuel Vadot compatible = "egnite,ethernut5", "atmel,at91sam9260", "atmel,at91sam9"; 13f126890aSEmmanuel Vadot 14f126890aSEmmanuel Vadot chosen { 15f126890aSEmmanuel Vadot bootargs = "console=ttyS0,115200 root=/dev/mtdblock0 rw rootfstype=jffs2"; 16f126890aSEmmanuel Vadot }; 17f126890aSEmmanuel Vadot 18f126890aSEmmanuel Vadot memory@20000000 { 19f126890aSEmmanuel Vadot reg = <0x20000000 0x08000000>; 20f126890aSEmmanuel Vadot }; 21f126890aSEmmanuel Vadot 22f126890aSEmmanuel Vadot clocks { 23f126890aSEmmanuel Vadot slow_xtal { 24f126890aSEmmanuel Vadot clock-frequency = <32768>; 25f126890aSEmmanuel Vadot }; 26f126890aSEmmanuel Vadot 27f126890aSEmmanuel Vadot main_xtal { 28f126890aSEmmanuel Vadot clock-frequency = <18432000>; 29f126890aSEmmanuel Vadot }; 30f126890aSEmmanuel Vadot }; 31f126890aSEmmanuel Vadot 32f126890aSEmmanuel Vadot ahb { 33f126890aSEmmanuel Vadot apb { 34f126890aSEmmanuel Vadot dbgu: serial@fffff200 { 35f126890aSEmmanuel Vadot status = "okay"; 36f126890aSEmmanuel Vadot }; 37f126890aSEmmanuel Vadot 38f126890aSEmmanuel Vadot tcb0: timer@fffa0000 { 39f126890aSEmmanuel Vadot timer@0 { 40f126890aSEmmanuel Vadot compatible = "atmel,tcb-timer"; 41f126890aSEmmanuel Vadot reg = <0>, <1>; 42f126890aSEmmanuel Vadot }; 43f126890aSEmmanuel Vadot 44f126890aSEmmanuel Vadot timer@2 { 45f126890aSEmmanuel Vadot compatible = "atmel,tcb-timer"; 46f126890aSEmmanuel Vadot reg = <2>; 47f126890aSEmmanuel Vadot }; 48f126890aSEmmanuel Vadot }; 49f126890aSEmmanuel Vadot 50f126890aSEmmanuel Vadot usart0: serial@fffb0000 { 51f126890aSEmmanuel Vadot status = "okay"; 52f126890aSEmmanuel Vadot }; 53f126890aSEmmanuel Vadot 54f126890aSEmmanuel Vadot usart1: serial@fffb4000 { 55f126890aSEmmanuel Vadot status = "okay"; 56f126890aSEmmanuel Vadot }; 57f126890aSEmmanuel Vadot 58f126890aSEmmanuel Vadot macb0: ethernet@fffc4000 { 59f126890aSEmmanuel Vadot phy-mode = "rmii"; 60f126890aSEmmanuel Vadot status = "okay"; 61f126890aSEmmanuel Vadot }; 62f126890aSEmmanuel Vadot 63f126890aSEmmanuel Vadot usb1: gadget@fffa4000 { 64f126890aSEmmanuel Vadot atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>; 65f126890aSEmmanuel Vadot status = "okay"; 66f126890aSEmmanuel Vadot }; 67f126890aSEmmanuel Vadot }; 68f126890aSEmmanuel Vadot 69f126890aSEmmanuel Vadot ebi: ebi@10000000 { 70f126890aSEmmanuel Vadot status = "okay"; 71f126890aSEmmanuel Vadot 72f126890aSEmmanuel Vadot nand_controller: nand-controller { 73f126890aSEmmanuel Vadot status = "okay"; 74f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_nand_cs>; 75f126890aSEmmanuel Vadot pinctrl-names = "default"; 76f126890aSEmmanuel Vadot 77f126890aSEmmanuel Vadot nand: nand@3 { 78f126890aSEmmanuel Vadot reg = <0x3 0x0 0x800000>; 79f126890aSEmmanuel Vadot cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>; 80f126890aSEmmanuel Vadot nand-bus-width = <8>; 81f126890aSEmmanuel Vadot nand-ecc-mode = "soft"; 82f126890aSEmmanuel Vadot nand-on-flash-bbt; 83f126890aSEmmanuel Vadot label = "atmel_nand"; 84f126890aSEmmanuel Vadot 85f126890aSEmmanuel Vadot partitions { 86f126890aSEmmanuel Vadot compatible = "fixed-partitions"; 87f126890aSEmmanuel Vadot #address-cells = <1>; 88f126890aSEmmanuel Vadot #size-cells = <1>; 89f126890aSEmmanuel Vadot 90f126890aSEmmanuel Vadot root@0 { 91f126890aSEmmanuel Vadot label = "root"; 92f126890aSEmmanuel Vadot reg = <0x0 0x08000000>; 93f126890aSEmmanuel Vadot }; 94f126890aSEmmanuel Vadot 95f126890aSEmmanuel Vadot data@20000 { 96f126890aSEmmanuel Vadot label = "data"; 97f126890aSEmmanuel Vadot reg = <0x08000000 0x38000000>; 98f126890aSEmmanuel Vadot }; 99f126890aSEmmanuel Vadot }; 100f126890aSEmmanuel Vadot }; 101f126890aSEmmanuel Vadot }; 102f126890aSEmmanuel Vadot }; 103f126890aSEmmanuel Vadot 104*8ccc0d23SEmmanuel Vadot usb0: usb@500000 { 105f126890aSEmmanuel Vadot num-ports = <2>; 106f126890aSEmmanuel Vadot status = "okay"; 107f126890aSEmmanuel Vadot }; 108f126890aSEmmanuel Vadot }; 109f126890aSEmmanuel Vadot 110f126890aSEmmanuel Vadot i2c-gpio-0 { 111f126890aSEmmanuel Vadot status = "okay"; 112f126890aSEmmanuel Vadot 113f126890aSEmmanuel Vadot pcf8563@50 { 114f126890aSEmmanuel Vadot compatible = "nxp,pcf8563"; 115f126890aSEmmanuel Vadot reg = <0x51>; 116f126890aSEmmanuel Vadot }; 117f126890aSEmmanuel Vadot }; 118f126890aSEmmanuel Vadot}; 119