Heiko Schocher | 649d810 | 2016-05-25 07:23:48 +0200 | [diff] [blame] | 1 | /* |
| 2 | * at91sam9g20-taurus.dts |
| 3 | * (C) Copyright 2016 |
| 4 | * Heiko Schocher, DENX Software Engineering, hs@denx.de. |
| 5 | * |
| 6 | * Based on: |
| 7 | * at91sam9g20ek.dts - Device Tree file for Atmel at91sam9g20ek board |
| 8 | * |
| 9 | * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> |
| 10 | * |
| 11 | * Licensed under GPLv2. |
| 12 | */ |
| 13 | /dts-v1/; |
| 14 | #include "at91sam9g20.dtsi" |
| 15 | |
| 16 | / { |
| 17 | model = "Siemens taurus"; |
Heiko Schocher | 1af10bb | 2019-04-29 16:36:10 +0200 | [diff] [blame] | 18 | compatible = "atmel,at91sam9g20", "atmel,at91sam9"; |
Heiko Schocher | 649d810 | 2016-05-25 07:23:48 +0200 | [diff] [blame] | 19 | |
| 20 | chosen { |
Heiko Schocher | ea90279 | 2017-06-28 11:24:58 +0200 | [diff] [blame] | 21 | u-boot,dm-pre-reloc; |
Heiko Schocher | 649d810 | 2016-05-25 07:23:48 +0200 | [diff] [blame] | 22 | stdout-path = &dbgu; |
| 23 | }; |
| 24 | |
| 25 | memory { |
| 26 | reg = <0x20000000 0x4000000>; |
| 27 | }; |
| 28 | |
| 29 | clocks { |
| 30 | slow_xtal { |
| 31 | clock-frequency = <32768>; |
| 32 | }; |
| 33 | |
| 34 | main_xtal { |
| 35 | clock-frequency = <18432000>; |
| 36 | }; |
| 37 | }; |
Heiko Schocher | 1af10bb | 2019-04-29 16:36:10 +0200 | [diff] [blame] | 38 | }; |
Heiko Schocher | 649d810 | 2016-05-25 07:23:48 +0200 | [diff] [blame] | 39 | |
Heiko Schocher | 1af10bb | 2019-04-29 16:36:10 +0200 | [diff] [blame] | 40 | &dbgu { |
| 41 | status = "okay"; |
| 42 | }; |
Heiko Schocher | 649d810 | 2016-05-25 07:23:48 +0200 | [diff] [blame] | 43 | |
Heiko Schocher | 1af10bb | 2019-04-29 16:36:10 +0200 | [diff] [blame] | 44 | &gpbr { |
| 45 | status = "okay"; |
| 46 | }; |
Heiko Schocher | 649d810 | 2016-05-25 07:23:48 +0200 | [diff] [blame] | 47 | |
Heiko Schocher | 1af10bb | 2019-04-29 16:36:10 +0200 | [diff] [blame] | 48 | &macb0 { |
| 49 | phy-mode = "rmii"; |
| 50 | status = "okay"; |
| 51 | }; |
Heiko Schocher | 649d810 | 2016-05-25 07:23:48 +0200 | [diff] [blame] | 52 | |
Heiko Schocher | 1af10bb | 2019-04-29 16:36:10 +0200 | [diff] [blame] | 53 | &nand0 { |
| 54 | nand-bus-width = <8>; |
| 55 | nand-ecc-mode = "soft"; |
| 56 | nand-on-flash-bbt; |
| 57 | status = "okay"; |
| 58 | }; |
Heiko Schocher | 649d810 | 2016-05-25 07:23:48 +0200 | [diff] [blame] | 59 | |
Heiko Schocher | 1af10bb | 2019-04-29 16:36:10 +0200 | [diff] [blame] | 60 | &pinctrl { |
| 61 | u-boot,dm-pre-reloc; |
| 62 | board { |
| 63 | pinctrl_pck0_as_mck: pck0_as_mck { |
| 64 | atmel,pins = |
| 65 | /* PC1 periph B */ |
| 66 | <AT91_PIOC 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; |
| 67 | }; |
Heiko Schocher | 649d810 | 2016-05-25 07:23:48 +0200 | [diff] [blame] | 68 | |
Heiko Schocher | 1af10bb | 2019-04-29 16:36:10 +0200 | [diff] [blame] | 69 | }; |
| 70 | }; |
Heiko Schocher | 649d810 | 2016-05-25 07:23:48 +0200 | [diff] [blame] | 71 | |
Heiko Schocher | 1af10bb | 2019-04-29 16:36:10 +0200 | [diff] [blame] | 72 | &rtc { |
| 73 | atmel,rtt-rtc-time-reg = <&gpbr 0x0>; |
| 74 | status = "okay"; |
| 75 | }; |
Heiko Schocher | 649d810 | 2016-05-25 07:23:48 +0200 | [diff] [blame] | 76 | |
Heiko Schocher | 1af10bb | 2019-04-29 16:36:10 +0200 | [diff] [blame] | 77 | &spi0 { |
| 78 | cs-gpios = <0>, <&pioC 11 0>, <0>, <0>; |
| 79 | mtd_dataflash@0 { |
| 80 | compatible = "atmel,at45", "atmel,dataflash"; |
| 81 | spi-max-frequency = <50000000>; |
| 82 | reg = <1>; |
| 83 | }; |
| 84 | }; |
Heiko Schocher | 649d810 | 2016-05-25 07:23:48 +0200 | [diff] [blame] | 85 | |
Heiko Schocher | 1af10bb | 2019-04-29 16:36:10 +0200 | [diff] [blame] | 86 | &ssc0 { |
| 87 | status = "okay"; |
| 88 | pinctrl-0 = <&pinctrl_ssc0_tx>; |
| 89 | }; |
Heiko Schocher | 649d810 | 2016-05-25 07:23:48 +0200 | [diff] [blame] | 90 | |
Heiko Schocher | 1af10bb | 2019-04-29 16:36:10 +0200 | [diff] [blame] | 91 | &usart0 { |
| 92 | pinctrl-0 = |
| 93 | <&pinctrl_usart0 |
| 94 | &pinctrl_usart0_rts |
| 95 | &pinctrl_usart0_cts |
| 96 | &pinctrl_usart0_dtr_dsr |
| 97 | &pinctrl_usart0_dcd |
| 98 | &pinctrl_usart0_ri>; |
| 99 | status = "okay"; |
| 100 | }; |
Heiko Schocher | 649d810 | 2016-05-25 07:23:48 +0200 | [diff] [blame] | 101 | |
Heiko Schocher | 1af10bb | 2019-04-29 16:36:10 +0200 | [diff] [blame] | 102 | &usart1 { |
| 103 | status = "okay"; |
| 104 | }; |
Heiko Schocher | 649d810 | 2016-05-25 07:23:48 +0200 | [diff] [blame] | 105 | |
Heiko Schocher | 1af10bb | 2019-04-29 16:36:10 +0200 | [diff] [blame] | 106 | &usb0 { |
| 107 | num-ports = <2>; |
| 108 | status = "okay"; |
| 109 | }; |
Heiko Schocher | 649d810 | 2016-05-25 07:23:48 +0200 | [diff] [blame] | 110 | |
Heiko Schocher | 1af10bb | 2019-04-29 16:36:10 +0200 | [diff] [blame] | 111 | &usb1 { |
| 112 | atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>; |
| 113 | status = "okay"; |
| 114 | }; |
Heiko Schocher | 649d810 | 2016-05-25 07:23:48 +0200 | [diff] [blame] | 115 | |
Heiko Schocher | 1af10bb | 2019-04-29 16:36:10 +0200 | [diff] [blame] | 116 | &watchdog { |
| 117 | u-boot,dm-pre-reloc; |
| 118 | timeout-sec = <15>; |
| 119 | status = "okay"; |
Heiko Schocher | 649d810 | 2016-05-25 07:23:48 +0200 | [diff] [blame] | 120 | }; |