0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003 * GE SBC610 Device Tree Source
0004 *
0005 * Copyright 2008 GE Intelligent Platforms Embedded Systems, Inc.
0006 *
0007 * Based on: SBS CM6 Device Tree Source
0008 * Copyright 2007 SBS Technologies GmbH & Co. KG
0009 * And: mpc8641_hpcn.dts (MPC8641 HPCN Device Tree Source)
0010 * Copyright 2006 Freescale Semiconductor Inc.
0011 */
0012
0013 /*
0014 * Compiled with dtc -I dts -O dtb -o gef_sbc610.dtb gef_sbc610.dts
0015 */
0016
0017 /include/ "mpc8641si-pre.dtsi"
0018
0019 / {
0020 model = "GEF_SBC610";
0021 compatible = "gef,sbc610";
0022
0023 memory {
0024 device_type = "memory";
0025 reg = <0x0 0x40000000>; // set by uboot
0026 };
0027
0028 lbc: localbus@fef05000 {
0029 reg = <0xfef05000 0x1000>;
0030
0031 ranges = <0 0 0xff000000 0x01000000 // 16MB Boot flash
0032 1 0 0xe8000000 0x08000000 // Paged Flash 0
0033 2 0 0xe0000000 0x08000000 // Paged Flash 1
0034 3 0 0xfc100000 0x00020000 // NVRAM
0035 4 0 0xfc000000 0x00008000 // FPGA
0036 5 0 0xfc008000 0x00008000 // AFIX FPGA
0037 6 0 0xfd000000 0x00800000 // IO FPGA (8-bit)
0038 7 0 0xfd800000 0x00800000>; // IO FPGA (32-bit)
0039
0040 /* flash@0,0 is a mirror of part of the memory in flash@1,0
0041 flash@0,0 {
0042 compatible = "gef,sbc610-firmware-mirror", "cfi-flash";
0043 reg = <0x0 0x0 0x1000000>;
0044 bank-width = <4>;
0045 device-width = <2>;
0046 #address-cells = <1>;
0047 #size-cells = <1>;
0048 partition@0 {
0049 label = "firmware";
0050 reg = <0x0 0x1000000>;
0051 read-only;
0052 };
0053 };
0054 */
0055
0056 flash@1,0 {
0057 compatible = "gef,sbc610-paged-flash", "cfi-flash";
0058 reg = <0x1 0x0 0x8000000>;
0059 bank-width = <4>;
0060 device-width = <2>;
0061 #address-cells = <1>;
0062 #size-cells = <1>;
0063 partition@0 {
0064 label = "user";
0065 reg = <0x0 0x7800000>;
0066 };
0067 partition@7800000 {
0068 label = "firmware";
0069 reg = <0x7800000 0x800000>;
0070 read-only;
0071 };
0072 };
0073
0074 nvram@3,0 {
0075 device_type = "nvram";
0076 compatible = "simtek,stk14ca8";
0077 reg = <0x3 0x0 0x20000>;
0078 };
0079
0080 fpga@4,0 {
0081 compatible = "gef,fpga-regs";
0082 reg = <0x4 0x0 0x40>;
0083 };
0084
0085 wdt@4,2000 {
0086 compatible = "gef,fpga-wdt";
0087 reg = <0x4 0x2000 0x8>;
0088 interrupts = <0x1a 0x4>;
0089 interrupt-parent = <&gef_pic>;
0090 };
0091 /* Second watchdog available, driver currently supports one.
0092 wdt@4,2010 {
0093 compatible = "gef,fpga-wdt";
0094 reg = <0x4 0x2010 0x8>;
0095 interrupts = <0x1b 0x4>;
0096 interrupt-parent = <&gef_pic>;
0097 };
0098 */
0099 gef_pic: pic@4,4000 {
0100 #interrupt-cells = <1>;
0101 interrupt-controller;
0102 compatible = "gef,fpga-pic";
0103 reg = <0x4 0x4000 0x20>;
0104 interrupts = <0x8 0x9 0 0>;
0105
0106 };
0107 gef_gpio: gpio@7,14000 {
0108 #gpio-cells = <2>;
0109 compatible = "gef,sbc610-gpio";
0110 reg = <0x7 0x14000 0x24>;
0111 gpio-controller;
0112 };
0113 };
0114
0115 soc: soc@fef00000 {
0116 ranges = <0x0 0xfef00000 0x00100000>;
0117
0118 i2c@3000 {
0119 hwmon@48 {
0120 compatible = "national,lm92";
0121 reg = <0x48>;
0122 };
0123
0124 hwmon@4c {
0125 compatible = "adi,adt7461";
0126 reg = <0x4c>;
0127 };
0128
0129 rtc@51 {
0130 compatible = "epson,rx8581";
0131 reg = <0x00000051>;
0132 };
0133
0134 eti@6b {
0135 compatible = "dallas,ds1682";
0136 reg = <0x6b>;
0137 };
0138 };
0139
0140 enet0: ethernet@24000 {
0141 tbi-handle = <&tbi0>;
0142 phy-handle = <&phy0>;
0143 phy-connection-type = "gmii";
0144 };
0145
0146 mdio@24520 {
0147 phy0: ethernet-phy@0 {
0148 interrupt-parent = <&gef_pic>;
0149 interrupts = <0x9 0x4>;
0150 reg = <1>;
0151 };
0152 phy2: ethernet-phy@2 {
0153 interrupt-parent = <&gef_pic>;
0154 interrupts = <0x8 0x4>;
0155 reg = <3>;
0156 };
0157 tbi0: tbi-phy@11 {
0158 reg = <0x11>;
0159 device_type = "tbi-phy";
0160 };
0161 };
0162
0163 enet1: ethernet@26000 {
0164 tbi-handle = <&tbi2>;
0165 phy-handle = <&phy2>;
0166 phy-connection-type = "gmii";
0167 };
0168
0169 mdio@26520 {
0170 tbi2: tbi-phy@11 {
0171 reg = <0x11>;
0172 device_type = "tbi-phy";
0173 };
0174 };
0175
0176 enet2: ethernet@25000 {
0177 status = "disabled";
0178 };
0179
0180 mdio@25520 {
0181 status = "disabled";
0182 };
0183
0184 enet3: ethernet@27000 {
0185 status = "disabled";
0186 };
0187
0188 mdio@27520 {
0189 status = "disabled";
0190 };
0191 };
0192
0193 pci0: pcie@fef08000 {
0194 reg = <0xfef08000 0x1000>;
0195 ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x40000000
0196 0x01000000 0x0 0x00000000 0xfe000000 0x0 0x00400000>;
0197
0198 pcie@0 {
0199 ranges = <0x02000000 0x0 0x80000000
0200 0x02000000 0x0 0x80000000
0201 0x0 0x40000000
0202
0203 0x01000000 0x0 0x00000000
0204 0x01000000 0x0 0x00000000
0205 0x0 0x00400000>;
0206 };
0207 };
0208
0209 pci1: pcie@fef09000 {
0210 status = "disabled";
0211 };
0212 };
0213
0214 /include/ "mpc8641si-post.dtsi"