Christophe Leroy | daf328a | 2018-11-21 08:51:43 +0000 | [diff] [blame] | 1 | /* |
| 2 | * MCR3000 Device Tree Source |
| 3 | * |
| 4 | * Copyright 2017 CS Systemes d'Information |
| 5 | * |
| 6 | * SPDX-License-Identifier: GPL-2.0+ |
| 7 | */ |
| 8 | |
| 9 | /dts-v1/; |
| 10 | |
| 11 | / { |
Christophe Leroy | 0fe1a20 | 2023-04-03 10:27:39 +0200 | [diff] [blame] | 12 | #address-cells = <1>; |
| 13 | #size-cells = <1>; |
| 14 | |
| 15 | soc: immr@ff000000 { |
| 16 | #address-cells = <1>; |
| 17 | #size-cells = <1>; |
| 18 | device-type = "soc"; |
| 19 | compatible = "simple-bus"; |
| 20 | ranges = <0 0xff000000 0x4000>; |
| 21 | reg = <0xff000000 0x00000200>; |
| 22 | |
| 23 | WDT: watchdog@0 { |
| 24 | compatible = "fsl,pq1-wdt"; |
| 25 | reg = <0x0 0x10>; |
| 26 | timeout-sec = <2>; |
| 27 | hw_margin_ms = <1000>; |
| 28 | }; |
Christophe Leroy | 0ee1ff8 | 2024-04-12 12:01:25 +0200 | [diff] [blame] | 29 | |
| 30 | spi: spi@aa0 { |
| 31 | status = "okay"; |
| 32 | #address-cells = <1>; |
| 33 | #size-cells = <0>; |
| 34 | cell-index = <0>; |
| 35 | compatible = "fsl,mpc8xx-spi"; |
Christophe Leroy | 61d9485 | 2024-04-14 11:17:13 +0200 | [diff] [blame] | 36 | gpios = <&csspi 2 0 |
| 37 | &csspi 0 0>; |
Christophe Leroy | 1e5f6f9 | 2024-04-02 19:22:24 +0200 | [diff] [blame] | 38 | |
| 39 | temp@0 { |
| 40 | reg = <0>; |
| 41 | compatible = "ti,lm74"; |
| 42 | }; |
Christophe Leroy | 61d9485 | 2024-04-14 11:17:13 +0200 | [diff] [blame] | 43 | fpga@1 { |
| 44 | reg = <1>; |
| 45 | }; |
Christophe Leroy | 0ee1ff8 | 2024-04-12 12:01:25 +0200 | [diff] [blame] | 46 | }; |
| 47 | }; |
| 48 | |
| 49 | localbus@ff000100 { |
| 50 | compatible = "s3k,mcr3000-localbus", "fsl,pq1-localbus", "simple-bus"; |
| 51 | #address-cells = <2>; |
| 52 | #size-cells = <1>; |
| 53 | reg = <0xff000100 0x40>; // ORx and BRx register |
| 54 | |
| 55 | ranges = <0 0 0x04000000 0x04000000 // BOOT |
| 56 | 1 0 0x00000000 0x04000000 // SDRAM |
| 57 | 2 0 0x08000000 0x04000000 // RAMDP |
| 58 | 3 0 0x0C000000 0x04000000 // NAND |
| 59 | 4 0 0x10000000 0x04000000 // Periphs |
| 60 | 5 0 0x14000000 0x04000000 // FPGA |
| 61 | 6 0 0x18000000 0x04000000 // mezzanine |
| 62 | 7 0 0x1c000000 0x04000000>; // DSP |
| 63 | |
| 64 | csspi: gpio-controller@2 { |
| 65 | #gpio-cells = <2>; |
| 66 | compatible = "s3k,mcr3000-cpld-csspi"; |
| 67 | reg = <4 0x802 2>; |
| 68 | gpio-controller; |
| 69 | }; |
Christophe Leroy | 5d5675a | 2018-11-21 08:51:47 +0000 | [diff] [blame] | 70 | }; |
Christophe Leroy | 0fe1a20 | 2023-04-03 10:27:39 +0200 | [diff] [blame] | 71 | |
Christophe Leroy | c5d7108 | 2018-11-21 08:51:51 +0000 | [diff] [blame] | 72 | SERIAL: smc@0 { |
| 73 | compatible = "fsl,pq1-smc"; |
| 74 | }; |
| 75 | |
Christophe Leroy | 69ef96d | 2022-05-12 15:48:51 +0200 | [diff] [blame] | 76 | FEC: fec@0 { |
| 77 | compatible = "fsl,pq1-fec1"; |
| 78 | }; |
| 79 | |
Christophe Leroy | c5d7108 | 2018-11-21 08:51:51 +0000 | [diff] [blame] | 80 | chosen { |
| 81 | stdout-path = &SERIAL; |
| 82 | }; |
Christophe Leroy | daf328a | 2018-11-21 08:51:43 +0000 | [diff] [blame] | 83 | }; |