1 // SPDX-License-Identifier: GPL-2.0-or-later 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 2 /* 3 * GE SBC610 Device Tree Source 3 * GE SBC610 Device Tree Source 4 * 4 * 5 * Copyright 2008 GE Intelligent Platforms Emb 5 * Copyright 2008 GE Intelligent Platforms Embedded Systems, Inc. 6 * 6 * 7 * Based on: SBS CM6 Device Tree Source 7 * Based on: SBS CM6 Device Tree Source 8 * Copyright 2007 SBS Technologies GmbH & Co. 8 * Copyright 2007 SBS Technologies GmbH & Co. KG 9 * And: mpc8641_hpcn.dts (MPC8641 HPCN Device 9 * And: mpc8641_hpcn.dts (MPC8641 HPCN Device Tree Source) 10 * Copyright 2006 Freescale Semiconductor Inc. 10 * Copyright 2006 Freescale Semiconductor Inc. 11 */ 11 */ 12 12 13 /* 13 /* 14 * Compiled with dtc -I dts -O dtb -o gef_sbc6 14 * Compiled with dtc -I dts -O dtb -o gef_sbc610.dtb gef_sbc610.dts 15 */ 15 */ 16 16 17 /include/ "mpc8641si-pre.dtsi" 17 /include/ "mpc8641si-pre.dtsi" 18 18 19 / { 19 / { 20 model = "GEF_SBC610"; 20 model = "GEF_SBC610"; 21 compatible = "gef,sbc610"; 21 compatible = "gef,sbc610"; 22 22 23 memory { 23 memory { 24 device_type = "memory"; 24 device_type = "memory"; 25 reg = <0x0 0x40000000>; // set 25 reg = <0x0 0x40000000>; // set by uboot 26 }; 26 }; 27 27 28 lbc: localbus@fef05000 { 28 lbc: localbus@fef05000 { 29 reg = <0xfef05000 0x1000>; 29 reg = <0xfef05000 0x1000>; 30 30 31 ranges = <0 0 0xff000000 0x010 31 ranges = <0 0 0xff000000 0x01000000 // 16MB Boot flash 32 1 0 0xe8000000 0x080 32 1 0 0xe8000000 0x08000000 // Paged Flash 0 33 2 0 0xe0000000 0x080 33 2 0 0xe0000000 0x08000000 // Paged Flash 1 34 3 0 0xfc100000 0x000 34 3 0 0xfc100000 0x00020000 // NVRAM 35 4 0 0xfc000000 0x000 35 4 0 0xfc000000 0x00008000 // FPGA 36 5 0 0xfc008000 0x000 36 5 0 0xfc008000 0x00008000 // AFIX FPGA 37 6 0 0xfd000000 0x008 37 6 0 0xfd000000 0x00800000 // IO FPGA (8-bit) 38 7 0 0xfd800000 0x008 38 7 0 0xfd800000 0x00800000>; // IO FPGA (32-bit) 39 39 40 /* flash@0,0 is a mirror of pa 40 /* flash@0,0 is a mirror of part of the memory in flash@1,0 41 flash@0,0 { 41 flash@0,0 { 42 compatible = "gef,sbc6 42 compatible = "gef,sbc610-firmware-mirror", "cfi-flash"; 43 reg = <0x0 0x0 0x10000 43 reg = <0x0 0x0 0x1000000>; 44 bank-width = <4>; 44 bank-width = <4>; 45 device-width = <2>; 45 device-width = <2>; 46 #address-cells = <1>; 46 #address-cells = <1>; 47 #size-cells = <1>; 47 #size-cells = <1>; 48 partition@0 { 48 partition@0 { 49 label = "firmw 49 label = "firmware"; 50 reg = <0x0 0x1 50 reg = <0x0 0x1000000>; 51 read-only; 51 read-only; 52 }; 52 }; 53 }; 53 }; 54 */ 54 */ 55 55 56 flash@1,0 { 56 flash@1,0 { 57 compatible = "gef,sbc6 57 compatible = "gef,sbc610-paged-flash", "cfi-flash"; 58 reg = <0x1 0x0 0x80000 58 reg = <0x1 0x0 0x8000000>; 59 bank-width = <4>; 59 bank-width = <4>; 60 device-width = <2>; 60 device-width = <2>; 61 #address-cells = <1>; 61 #address-cells = <1>; 62 #size-cells = <1>; 62 #size-cells = <1>; 63 partition@0 { 63 partition@0 { 64 label = "user" 64 label = "user"; 65 reg = <0x0 0x7 65 reg = <0x0 0x7800000>; 66 }; 66 }; 67 partition@7800000 { 67 partition@7800000 { 68 label = "firmw 68 label = "firmware"; 69 reg = <0x78000 69 reg = <0x7800000 0x800000>; 70 read-only; 70 read-only; 71 }; 71 }; 72 }; 72 }; 73 73 74 nvram@3,0 { 74 nvram@3,0 { 75 device_type = "nvram"; 75 device_type = "nvram"; 76 compatible = "simtek,s 76 compatible = "simtek,stk14ca8"; 77 reg = <0x3 0x0 0x20000 77 reg = <0x3 0x0 0x20000>; 78 }; 78 }; 79 79 80 fpga@4,0 { 80 fpga@4,0 { 81 compatible = "gef,fpga 81 compatible = "gef,fpga-regs"; 82 reg = <0x4 0x0 0x40>; 82 reg = <0x4 0x0 0x40>; 83 }; 83 }; 84 84 85 wdt@4,2000 { 85 wdt@4,2000 { 86 compatible = "gef,fpga 86 compatible = "gef,fpga-wdt"; 87 reg = <0x4 0x2000 0x8> 87 reg = <0x4 0x2000 0x8>; 88 interrupts = <0x1a 0x4 88 interrupts = <0x1a 0x4>; 89 interrupt-parent = <&g 89 interrupt-parent = <&gef_pic>; 90 }; 90 }; 91 /* Second watchdog available, 91 /* Second watchdog available, driver currently supports one. 92 wdt@4,2010 { 92 wdt@4,2010 { 93 compatible = "gef,fpga 93 compatible = "gef,fpga-wdt"; 94 reg = <0x4 0x2010 0x8> 94 reg = <0x4 0x2010 0x8>; 95 interrupts = <0x1b 0x4 95 interrupts = <0x1b 0x4>; 96 interrupt-parent = <&g 96 interrupt-parent = <&gef_pic>; 97 }; 97 }; 98 */ 98 */ 99 gef_pic: pic@4,4000 { 99 gef_pic: pic@4,4000 { 100 #interrupt-cells = <1> 100 #interrupt-cells = <1>; 101 interrupt-controller; 101 interrupt-controller; 102 compatible = "gef,fpga 102 compatible = "gef,fpga-pic"; 103 reg = <0x4 0x4000 0x20 103 reg = <0x4 0x4000 0x20>; 104 interrupts = <0x8 0x9 104 interrupts = <0x8 0x9 0 0>; 105 105 106 }; 106 }; 107 gef_gpio: gpio@7,14000 { 107 gef_gpio: gpio@7,14000 { 108 #gpio-cells = <2>; 108 #gpio-cells = <2>; 109 compatible = "gef,sbc6 109 compatible = "gef,sbc610-gpio"; 110 reg = <0x7 0x14000 0x2 110 reg = <0x7 0x14000 0x24>; 111 gpio-controller; 111 gpio-controller; 112 }; 112 }; 113 }; 113 }; 114 114 115 soc: soc@fef00000 { 115 soc: soc@fef00000 { 116 ranges = <0x0 0xfef00000 0x001 116 ranges = <0x0 0xfef00000 0x00100000>; 117 117 118 i2c@3000 { 118 i2c@3000 { 119 hwmon@48 { 119 hwmon@48 { 120 compatible = " 120 compatible = "national,lm92"; 121 reg = <0x48>; 121 reg = <0x48>; 122 }; 122 }; 123 123 124 hwmon@4c { 124 hwmon@4c { 125 compatible = " 125 compatible = "adi,adt7461"; 126 reg = <0x4c>; 126 reg = <0x4c>; 127 }; 127 }; 128 128 129 rtc@51 { 129 rtc@51 { 130 compatible = " 130 compatible = "epson,rx8581"; 131 reg = <0x00000 131 reg = <0x00000051>; 132 }; 132 }; 133 133 134 eti@6b { 134 eti@6b { 135 compatible = " 135 compatible = "dallas,ds1682"; 136 reg = <0x6b>; 136 reg = <0x6b>; 137 }; 137 }; 138 }; 138 }; 139 139 140 enet0: ethernet@24000 { 140 enet0: ethernet@24000 { 141 tbi-handle = <&tbi0>; 141 tbi-handle = <&tbi0>; 142 phy-handle = <&phy0>; 142 phy-handle = <&phy0>; 143 phy-connection-type = 143 phy-connection-type = "gmii"; 144 }; 144 }; 145 145 146 mdio@24520 { 146 mdio@24520 { 147 phy0: ethernet-phy@0 { 147 phy0: ethernet-phy@0 { 148 interrupt-pare 148 interrupt-parent = <&gef_pic>; 149 interrupts = < 149 interrupts = <0x9 0x4>; 150 reg = <1>; 150 reg = <1>; 151 }; 151 }; 152 phy2: ethernet-phy@2 { 152 phy2: ethernet-phy@2 { 153 interrupt-pare 153 interrupt-parent = <&gef_pic>; 154 interrupts = < 154 interrupts = <0x8 0x4>; 155 reg = <3>; 155 reg = <3>; 156 }; 156 }; 157 tbi0: tbi-phy@11 { 157 tbi0: tbi-phy@11 { 158 reg = <0x11>; 158 reg = <0x11>; 159 device_type = 159 device_type = "tbi-phy"; 160 }; 160 }; 161 }; 161 }; 162 162 163 enet1: ethernet@26000 { 163 enet1: ethernet@26000 { 164 tbi-handle = <&tbi2>; 164 tbi-handle = <&tbi2>; 165 phy-handle = <&phy2>; 165 phy-handle = <&phy2>; 166 phy-connection-type = 166 phy-connection-type = "gmii"; 167 }; 167 }; 168 168 169 mdio@26520 { 169 mdio@26520 { 170 tbi2: tbi-phy@11 { 170 tbi2: tbi-phy@11 { 171 reg = <0x11>; 171 reg = <0x11>; 172 device_type = 172 device_type = "tbi-phy"; 173 }; 173 }; 174 }; 174 }; 175 175 176 enet2: ethernet@25000 { 176 enet2: ethernet@25000 { 177 status = "disabled"; 177 status = "disabled"; 178 }; 178 }; 179 179 180 mdio@25520 { 180 mdio@25520 { 181 status = "disabled"; 181 status = "disabled"; 182 }; 182 }; 183 183 184 enet3: ethernet@27000 { 184 enet3: ethernet@27000 { 185 status = "disabled"; 185 status = "disabled"; 186 }; 186 }; 187 187 188 mdio@27520 { 188 mdio@27520 { 189 status = "disabled"; 189 status = "disabled"; 190 }; 190 }; 191 }; 191 }; 192 192 193 pci0: pcie@fef08000 { 193 pci0: pcie@fef08000 { 194 reg = <0xfef08000 0x1000>; 194 reg = <0xfef08000 0x1000>; 195 ranges = <0x02000000 0x0 0x800 195 ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x40000000 196 0x01000000 0x0 0x000 196 0x01000000 0x0 0x00000000 0xfe000000 0x0 0x00400000>; 197 197 198 pcie@0 { 198 pcie@0 { 199 ranges = <0x02000000 0 199 ranges = <0x02000000 0x0 0x80000000 200 0x02000000 0 200 0x02000000 0x0 0x80000000 201 0x0 0x400000 201 0x0 0x40000000 202 202 203 0x01000000 0 203 0x01000000 0x0 0x00000000 204 0x01000000 0 204 0x01000000 0x0 0x00000000 205 0x0 0x004000 205 0x0 0x00400000>; 206 }; 206 }; 207 }; 207 }; 208 208 209 pci1: pcie@fef09000 { 209 pci1: pcie@fef09000 { 210 status = "disabled"; 210 status = "disabled"; 211 }; 211 }; 212 }; 212 }; 213 213 214 /include/ "mpc8641si-post.dtsi" 214 /include/ "mpc8641si-post.dtsi"
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.