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