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