Christophe Leroy | 1fc46f5 | 2022-10-14 12:54:50 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * CMPC885 Device Tree Source |
| 4 | * |
| 5 | * Copyright 2020 CS Group |
| 6 | * |
| 7 | */ |
| 8 | |
| 9 | /dts-v1/; |
| 10 | |
| 11 | / { |
| 12 | model = "CMPC885"; |
| 13 | compatible = "fsl, cmpc885", "fsl,mod885"; |
| 14 | #address-cells = <1>; |
| 15 | #size-cells = <1>; |
| 16 | |
| 17 | chosen { |
| 18 | stdout-path = &SERIAL; |
| 19 | }; |
| 20 | |
Christophe Leroy | 1fc46f5 | 2022-10-14 12:54:50 +0200 | [diff] [blame] | 21 | SERIAL: serial { |
| 22 | compatible = "fsl,pq1-smc"; |
| 23 | }; |
| 24 | |
| 25 | FEC1: fec@0 { |
| 26 | compatible = "fsl,pq1-fec1"; |
| 27 | }; |
| 28 | |
| 29 | FEC2: fec@1 { |
| 30 | compatible = "fsl,pq1-fec2"; |
| 31 | }; |
| 32 | |
| 33 | soc: immr@ff000000 { |
| 34 | #address-cells = <1>; |
| 35 | #size-cells = <1>; |
| 36 | device-type = "soc"; |
| 37 | compatible = "simple-bus"; |
| 38 | ranges = <0 0xff000000 0x4000>; |
| 39 | reg = <0xff000000 0x00000200>; |
| 40 | |
Christophe Leroy | 0fe1a20 | 2023-04-03 10:27:39 +0200 | [diff] [blame] | 41 | WDT: watchdog@0 { |
| 42 | compatible = "fsl,pq1-wdt"; |
| 43 | reg = <0x0 0x10>; |
| 44 | timeout-sec = <2>; |
| 45 | hw_margin_ms = <1000>; |
| 46 | }; |
| 47 | |
Christophe Leroy | 1fc46f5 | 2022-10-14 12:54:50 +0200 | [diff] [blame] | 48 | CPM1_PIO_B: gpio-controller@ab8 { |
| 49 | #gpio-cells = <2>; |
| 50 | compatible = "fsl,cpm1-pario-bank-b"; |
| 51 | reg = <0xab8 0x10>; |
| 52 | gpio-controller; |
| 53 | }; |
| 54 | |
| 55 | CPM1_PIO_D: gpio-controller@970 { |
| 56 | #gpio-cells = <2>; |
| 57 | compatible = "fsl,cpm1-pario-bank-d"; |
| 58 | reg = <0x970 0x10>; |
| 59 | gpio-controller; |
| 60 | }; |
| 61 | |
| 62 | CPM1_PIO_A: gpio-controller@950 { |
| 63 | #gpio-cells = <2>; |
| 64 | compatible = "fsl,cpm1-pario-bank-a"; |
| 65 | reg = <0x950 0x10>; |
| 66 | gpio-controller; |
| 67 | }; |
| 68 | |
| 69 | CPM1_PIO_C: gpio-controller@960 { |
| 70 | #gpio-cells = <2>; |
| 71 | compatible = "fsl,cpm1-pario-bank-c"; |
| 72 | reg = <0x960 0x10>; |
| 73 | gpio-controller; |
| 74 | }; |
| 75 | |
| 76 | CPM1_PIO_E: gpio-controller@ac8 { |
| 77 | #gpio-cells = <2>; |
| 78 | compatible = "fsl,cpm1-pario-bank-e"; |
| 79 | reg = <0xac8 0x18>; |
| 80 | gpio-controller; |
| 81 | }; |
| 82 | |
| 83 | spi: spi@aa0 { |
| 84 | status = "okay"; |
| 85 | #address-cells = <1>; |
Christophe Leroy | 9a9e937 | 2024-04-12 12:10:14 +0200 | [diff] [blame] | 86 | #size-cells = <0>; |
Christophe Leroy | 1fc46f5 | 2022-10-14 12:54:50 +0200 | [diff] [blame] | 87 | compatible = "fsl,mpc8xx-spi"; |
Christophe Leroy | 1e5f6f9 | 2024-04-02 19:22:24 +0200 | [diff] [blame] | 88 | gpios = <&CPM1_PIO_B 21 1 /* /EEPROM_CS ACTIVE_LOW */ |
| 89 | &CPM1_PIO_B 23 1 /* Temperature mother board */ |
| 90 | &CPM1_PIO_B 14 1>; /* Temperature CPU board */ |
Christophe Leroy | 1fc46f5 | 2022-10-14 12:54:50 +0200 | [diff] [blame] | 91 | |
| 92 | eeprom@0 { |
Christophe Leroy | 9a9e937 | 2024-04-12 12:10:14 +0200 | [diff] [blame] | 93 | reg = <0>; |
| 94 | compatible = "atmel,at25", "cs,eeprom"; |
Christophe Leroy | 1fc46f5 | 2022-10-14 12:54:50 +0200 | [diff] [blame] | 95 | }; |
Christophe Leroy | 1e5f6f9 | 2024-04-02 19:22:24 +0200 | [diff] [blame] | 96 | temp@1 { |
| 97 | reg = <1>; |
| 98 | compatible = "ti,lm74"; |
| 99 | }; |
| 100 | temp@2 { |
| 101 | reg = <2>; |
| 102 | compatible = "ti,lm74"; |
| 103 | }; |
Christophe Leroy | 1fc46f5 | 2022-10-14 12:54:50 +0200 | [diff] [blame] | 104 | }; |
| 105 | }; |
| 106 | }; |