1 // SPDX-License-Identifier: GPL-2.0+
3 * ABB PGGA OPTI2 Device Tree Source
5 * Copyright (C) 2020 Heiko Schocher <hs@denx.de>
11 #include "km8321.dtsi"
15 compatible = "ABB,kmpbec8321";
20 ethernet0 = &enet_piggy2;
27 compatible = "nxp,pca9547";
37 /* Inventory EEPROM of the unit itself */
50 /* Temperature sensors */
53 compatible = "national,lm75";
59 compatible = "national,lm75";
91 /* UCC5 as HDLC controller for ICN */
92 pio_ucc5: ucc_pin@04 {
94 /* port pin dir open_drain assignment has_irq */
95 2 0 1 0 2 0 /* TxD0 */
96 2 8 2 0 2 0 /* RxD0 */
97 2 29 2 0 2 0 /* CTS */
98 3 30 2 0 1 0 /* ICN CLK */
102 /* UCC4 Piggy Ethernet */
103 pio_ucc4: ucc_pin@03 {
105 /* port pin dir open_drain assignment has_irq */
106 3 4 3 0 2 0 /* MDIO */
107 3 5 1 0 2 0 /* MDC */
109 1 18 1 0 1 0 /* TxD0 */
110 1 19 1 0 1 0 /* TxD1 */
111 1 22 2 0 1 0 /* RxD0 */
112 1 23 2 0 1 0 /* RxD1 */
113 1 26 2 0 1 0 /* RX_ER */
114 1 28 2 0 1 0 /* RX_DV */
115 1 30 1 0 1 0 /* TX_EN */
116 1 31 2 0 1 0 /* CRS */
117 3 10 2 0 3 0 /* UCC4_RMII_CLK (CLK17) */
121 pio_spi: spi_pin@01 {
123 /* port pin dir open_drain assignment has_irq */
124 3 0 3 0 1 0 /* SPI_MOSI (PD0, bi, f3) */
125 3 1 3 0 1 0 /* SPI_MISO (PD1, bi, f3) */
126 3 2 3 0 1 0 /* SPI_CLK (PD2, bi, f3) */
132 ranges = <0 0 0xf0000000 0x04000000 /* LB 0 Flash (boot) */
133 1 0 0xe8000000 0x01000000 /* LB 1 PRIO1 and Piggy */
134 2 0 0xa0000000 0x10000000 /* LB 2 PAXE */
135 3 0 0xb0000000 0x10000000>; /* LB 3 OPI2 */
138 compatible = "cfi-flash";
139 reg = <0 0x00000000 0x04000000>;
141 #address-cells = <1>;
143 use-advanced-sector-protection;
144 partition@0 { /* 768KB */
148 partition@c0000 { /* 128KB */
150 reg = <0xc0000 0x20000>;
152 partition@e0000 { /* 128KB */
154 reg = <0xe0000 0x20000>;
156 partition@100000 { /* 64512KB */
158 reg = <0x100000 0x3F00000>;