146f26ec7SAlessio Igor Bogani/* 246f26ec7SAlessio Igor Bogani * GE SBC610 Device Tree Source 346f26ec7SAlessio Igor Bogani * 446f26ec7SAlessio Igor Bogani * Copyright 2008 GE Intelligent Platforms Embedded Systems, Inc. 546f26ec7SAlessio Igor Bogani * 646f26ec7SAlessio Igor Bogani * This program is free software; you can redistribute it and/or modify it 746f26ec7SAlessio Igor Bogani * under the terms of the GNU General Public License as published by the 846f26ec7SAlessio Igor Bogani * Free Software Foundation; either version 2 of the License, or (at your 946f26ec7SAlessio Igor Bogani * option) any later version. 1046f26ec7SAlessio Igor Bogani * 1146f26ec7SAlessio Igor Bogani * Based on: SBS CM6 Device Tree Source 1246f26ec7SAlessio Igor Bogani * Copyright 2007 SBS Technologies GmbH & Co. KG 1346f26ec7SAlessio Igor Bogani * And: mpc8641_hpcn.dts (MPC8641 HPCN Device Tree Source) 1446f26ec7SAlessio Igor Bogani * Copyright 2006 Freescale Semiconductor Inc. 1546f26ec7SAlessio Igor Bogani */ 1646f26ec7SAlessio Igor Bogani 1746f26ec7SAlessio Igor Bogani/* 1846f26ec7SAlessio Igor Bogani * Compiled with dtc -I dts -O dtb -o gef_sbc610.dtb gef_sbc610.dts 1946f26ec7SAlessio Igor Bogani */ 2046f26ec7SAlessio Igor Bogani 21334479d1SAlessio Igor Bogani/include/ "mpc8641si-pre.dtsi" 2246f26ec7SAlessio Igor Bogani 2346f26ec7SAlessio Igor Bogani/ { 2446f26ec7SAlessio Igor Bogani model = "GEF_SBC610"; 2546f26ec7SAlessio Igor Bogani compatible = "gef,sbc610"; 2646f26ec7SAlessio Igor Bogani 2746f26ec7SAlessio Igor Bogani memory { 2846f26ec7SAlessio Igor Bogani device_type = "memory"; 2946f26ec7SAlessio Igor Bogani reg = <0x0 0x40000000>; // set by uboot 3046f26ec7SAlessio Igor Bogani }; 3146f26ec7SAlessio Igor Bogani 32334479d1SAlessio Igor Bogani lbc: localbus@fef05000 { 3346f26ec7SAlessio Igor Bogani reg = <0xfef05000 0x1000>; 3446f26ec7SAlessio Igor Bogani 3546f26ec7SAlessio Igor Bogani ranges = <0 0 0xff000000 0x01000000 // 16MB Boot flash 3646f26ec7SAlessio Igor Bogani 1 0 0xe8000000 0x08000000 // Paged Flash 0 3746f26ec7SAlessio Igor Bogani 2 0 0xe0000000 0x08000000 // Paged Flash 1 3846f26ec7SAlessio Igor Bogani 3 0 0xfc100000 0x00020000 // NVRAM 3946f26ec7SAlessio Igor Bogani 4 0 0xfc000000 0x00008000 // FPGA 4046f26ec7SAlessio Igor Bogani 5 0 0xfc008000 0x00008000 // AFIX FPGA 4146f26ec7SAlessio Igor Bogani 6 0 0xfd000000 0x00800000 // IO FPGA (8-bit) 4246f26ec7SAlessio Igor Bogani 7 0 0xfd800000 0x00800000>; // IO FPGA (32-bit) 4346f26ec7SAlessio Igor Bogani 4446f26ec7SAlessio Igor Bogani /* flash@0,0 is a mirror of part of the memory in flash@1,0 4546f26ec7SAlessio Igor Bogani flash@0,0 { 4646f26ec7SAlessio Igor Bogani compatible = "gef,sbc610-firmware-mirror", "cfi-flash"; 4746f26ec7SAlessio Igor Bogani reg = <0x0 0x0 0x1000000>; 4846f26ec7SAlessio Igor Bogani bank-width = <4>; 4946f26ec7SAlessio Igor Bogani device-width = <2>; 5046f26ec7SAlessio Igor Bogani #address-cells = <1>; 5146f26ec7SAlessio Igor Bogani #size-cells = <1>; 5246f26ec7SAlessio Igor Bogani partition@0 { 5346f26ec7SAlessio Igor Bogani label = "firmware"; 5446f26ec7SAlessio Igor Bogani reg = <0x0 0x1000000>; 5546f26ec7SAlessio Igor Bogani read-only; 5646f26ec7SAlessio Igor Bogani }; 5746f26ec7SAlessio Igor Bogani }; 5846f26ec7SAlessio Igor Bogani */ 5946f26ec7SAlessio Igor Bogani 6046f26ec7SAlessio Igor Bogani flash@1,0 { 6146f26ec7SAlessio Igor Bogani compatible = "gef,sbc610-paged-flash", "cfi-flash"; 6246f26ec7SAlessio Igor Bogani reg = <0x1 0x0 0x8000000>; 6346f26ec7SAlessio Igor Bogani bank-width = <4>; 6446f26ec7SAlessio Igor Bogani device-width = <2>; 6546f26ec7SAlessio Igor Bogani #address-cells = <1>; 6646f26ec7SAlessio Igor Bogani #size-cells = <1>; 6746f26ec7SAlessio Igor Bogani partition@0 { 6846f26ec7SAlessio Igor Bogani label = "user"; 6946f26ec7SAlessio Igor Bogani reg = <0x0 0x7800000>; 7046f26ec7SAlessio Igor Bogani }; 7146f26ec7SAlessio Igor Bogani partition@7800000 { 7246f26ec7SAlessio Igor Bogani label = "firmware"; 7346f26ec7SAlessio Igor Bogani reg = <0x7800000 0x800000>; 7446f26ec7SAlessio Igor Bogani read-only; 7546f26ec7SAlessio Igor Bogani }; 7646f26ec7SAlessio Igor Bogani }; 7746f26ec7SAlessio Igor Bogani 7846f26ec7SAlessio Igor Bogani nvram@3,0 { 7946f26ec7SAlessio Igor Bogani device_type = "nvram"; 8046f26ec7SAlessio Igor Bogani compatible = "simtek,stk14ca8"; 8146f26ec7SAlessio Igor Bogani reg = <0x3 0x0 0x20000>; 8246f26ec7SAlessio Igor Bogani }; 8346f26ec7SAlessio Igor Bogani 8446f26ec7SAlessio Igor Bogani fpga@4,0 { 8546f26ec7SAlessio Igor Bogani compatible = "gef,fpga-regs"; 8646f26ec7SAlessio Igor Bogani reg = <0x4 0x0 0x40>; 8746f26ec7SAlessio Igor Bogani }; 8846f26ec7SAlessio Igor Bogani 8946f26ec7SAlessio Igor Bogani wdt@4,2000 { 9046f26ec7SAlessio Igor Bogani compatible = "gef,fpga-wdt"; 9146f26ec7SAlessio Igor Bogani reg = <0x4 0x2000 0x8>; 9246f26ec7SAlessio Igor Bogani interrupts = <0x1a 0x4>; 9346f26ec7SAlessio Igor Bogani interrupt-parent = <&gef_pic>; 9446f26ec7SAlessio Igor Bogani }; 9546f26ec7SAlessio Igor Bogani /* Second watchdog available, driver currently supports one. 9646f26ec7SAlessio Igor Bogani wdt@4,2010 { 9746f26ec7SAlessio Igor Bogani compatible = "gef,fpga-wdt"; 9846f26ec7SAlessio Igor Bogani reg = <0x4 0x2010 0x8>; 9946f26ec7SAlessio Igor Bogani interrupts = <0x1b 0x4>; 10046f26ec7SAlessio Igor Bogani interrupt-parent = <&gef_pic>; 10146f26ec7SAlessio Igor Bogani }; 10246f26ec7SAlessio Igor Bogani */ 10346f26ec7SAlessio Igor Bogani gef_pic: pic@4,4000 { 10446f26ec7SAlessio Igor Bogani #interrupt-cells = <1>; 10546f26ec7SAlessio Igor Bogani interrupt-controller; 10646f26ec7SAlessio Igor Bogani compatible = "gef,fpga-pic"; 10746f26ec7SAlessio Igor Bogani reg = <0x4 0x4000 0x20>; 108595207b9SAlessio Igor Bogani interrupts = <0x8 0x9 0 0>; 10946f26ec7SAlessio Igor Bogani 11046f26ec7SAlessio Igor Bogani }; 11146f26ec7SAlessio Igor Bogani gef_gpio: gpio@7,14000 { 11246f26ec7SAlessio Igor Bogani #gpio-cells = <2>; 11346f26ec7SAlessio Igor Bogani compatible = "gef,sbc610-gpio"; 11446f26ec7SAlessio Igor Bogani reg = <0x7 0x14000 0x24>; 11546f26ec7SAlessio Igor Bogani gpio-controller; 11646f26ec7SAlessio Igor Bogani }; 11746f26ec7SAlessio Igor Bogani }; 11846f26ec7SAlessio Igor Bogani 119334479d1SAlessio Igor Bogani soc: soc@fef00000 { 12046f26ec7SAlessio Igor Bogani ranges = <0x0 0xfef00000 0x00100000>; 12146f26ec7SAlessio Igor Bogani 122595207b9SAlessio Igor Bogani i2c@3000 { 12346f26ec7SAlessio Igor Bogani hwmon@48 { 12446f26ec7SAlessio Igor Bogani compatible = "national,lm92"; 12546f26ec7SAlessio Igor Bogani reg = <0x48>; 12646f26ec7SAlessio Igor Bogani }; 12746f26ec7SAlessio Igor Bogani 12846f26ec7SAlessio Igor Bogani hwmon@4c { 12946f26ec7SAlessio Igor Bogani compatible = "adi,adt7461"; 13046f26ec7SAlessio Igor Bogani reg = <0x4c>; 13146f26ec7SAlessio Igor Bogani }; 13246f26ec7SAlessio Igor Bogani 13346f26ec7SAlessio Igor Bogani rtc@51 { 13446f26ec7SAlessio Igor Bogani compatible = "epson,rx8581"; 13546f26ec7SAlessio Igor Bogani reg = <0x00000051>; 13646f26ec7SAlessio Igor Bogani }; 13746f26ec7SAlessio Igor Bogani 13846f26ec7SAlessio Igor Bogani eti@6b { 13946f26ec7SAlessio Igor Bogani compatible = "dallas,ds1682"; 14046f26ec7SAlessio Igor Bogani reg = <0x6b>; 14146f26ec7SAlessio Igor Bogani }; 14246f26ec7SAlessio Igor Bogani }; 14346f26ec7SAlessio Igor Bogani 14446f26ec7SAlessio Igor Bogani enet0: ethernet@24000 { 14546f26ec7SAlessio Igor Bogani tbi-handle = <&tbi0>; 14646f26ec7SAlessio Igor Bogani phy-handle = <&phy0>; 14746f26ec7SAlessio Igor Bogani phy-connection-type = "gmii"; 148334479d1SAlessio Igor Bogani }; 14946f26ec7SAlessio Igor Bogani 150334479d1SAlessio Igor Bogani mdio@24520 { 15146f26ec7SAlessio Igor Bogani phy0: ethernet-phy@0 { 15246f26ec7SAlessio Igor Bogani interrupt-parent = <&gef_pic>; 15346f26ec7SAlessio Igor Bogani interrupts = <0x9 0x4>; 15446f26ec7SAlessio Igor Bogani reg = <1>; 15546f26ec7SAlessio Igor Bogani }; 15646f26ec7SAlessio Igor Bogani phy2: ethernet-phy@2 { 15746f26ec7SAlessio Igor Bogani interrupt-parent = <&gef_pic>; 15846f26ec7SAlessio Igor Bogani interrupts = <0x8 0x4>; 15946f26ec7SAlessio Igor Bogani reg = <3>; 16046f26ec7SAlessio Igor Bogani }; 16146f26ec7SAlessio Igor Bogani tbi0: tbi-phy@11 { 16246f26ec7SAlessio Igor Bogani reg = <0x11>; 16346f26ec7SAlessio Igor Bogani device_type = "tbi-phy"; 16446f26ec7SAlessio Igor Bogani }; 16546f26ec7SAlessio Igor Bogani }; 16646f26ec7SAlessio Igor Bogani 16746f26ec7SAlessio Igor Bogani enet1: ethernet@26000 { 16846f26ec7SAlessio Igor Bogani tbi-handle = <&tbi2>; 16946f26ec7SAlessio Igor Bogani phy-handle = <&phy2>; 17046f26ec7SAlessio Igor Bogani phy-connection-type = "gmii"; 171334479d1SAlessio Igor Bogani }; 17246f26ec7SAlessio Igor Bogani 173334479d1SAlessio Igor Bogani mdio@26520 { 17446f26ec7SAlessio Igor Bogani tbi2: tbi-phy@11 { 17546f26ec7SAlessio Igor Bogani reg = <0x11>; 17646f26ec7SAlessio Igor Bogani device_type = "tbi-phy"; 17746f26ec7SAlessio Igor Bogani }; 17846f26ec7SAlessio Igor Bogani }; 179334479d1SAlessio Igor Bogani 180334479d1SAlessio Igor Bogani enet2: ethernet@25000 { 181334479d1SAlessio Igor Bogani status = "disabled"; 18246f26ec7SAlessio Igor Bogani }; 18346f26ec7SAlessio Igor Bogani 184334479d1SAlessio Igor Bogani mdio@25520 { 185334479d1SAlessio Igor Bogani status = "disabled"; 18646f26ec7SAlessio Igor Bogani }; 18746f26ec7SAlessio Igor Bogani 188334479d1SAlessio Igor Bogani enet3: ethernet@27000 { 189334479d1SAlessio Igor Bogani status = "disabled"; 19046f26ec7SAlessio Igor Bogani }; 19146f26ec7SAlessio Igor Bogani 192334479d1SAlessio Igor Bogani mdio@27520 { 193334479d1SAlessio Igor Bogani status = "disabled"; 19446f26ec7SAlessio Igor Bogani }; 19546f26ec7SAlessio Igor Bogani }; 19646f26ec7SAlessio Igor Bogani 19746f26ec7SAlessio Igor Bogani pci0: pcie@fef08000 { 19846f26ec7SAlessio Igor Bogani reg = <0xfef08000 0x1000>; 19946f26ec7SAlessio Igor Bogani ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x40000000 20046f26ec7SAlessio Igor Bogani 0x01000000 0x0 0x00000000 0xfe000000 0x0 0x00400000>; 20146f26ec7SAlessio Igor Bogani 20246f26ec7SAlessio Igor Bogani pcie@0 { 20346f26ec7SAlessio Igor Bogani ranges = <0x02000000 0x0 0x80000000 20446f26ec7SAlessio Igor Bogani 0x02000000 0x0 0x80000000 20546f26ec7SAlessio Igor Bogani 0x0 0x40000000 20646f26ec7SAlessio Igor Bogani 20746f26ec7SAlessio Igor Bogani 0x01000000 0x0 0x00000000 20846f26ec7SAlessio Igor Bogani 0x01000000 0x0 0x00000000 20946f26ec7SAlessio Igor Bogani 0x0 0x00400000>; 21046f26ec7SAlessio Igor Bogani }; 21146f26ec7SAlessio Igor Bogani }; 21246f26ec7SAlessio Igor Bogani}; 213334479d1SAlessio Igor Bogani 214334479d1SAlessio Igor Bogani/include/ "mpc8641si-post.dtsi" 215