12874c5fdSThomas Gleixner// SPDX-License-Identifier: GPL-2.0-or-later 2dc37374bSHongtao Jia/* 3dc37374bSHongtao Jia * GE IMP3A Device Tree Source 4dc37374bSHongtao Jia * 5dc37374bSHongtao Jia * Copyright 2010-2011 GE Intelligent Platforms Embedded Systems, Inc. 6dc37374bSHongtao Jia * 7dc37374bSHongtao Jia * Based on: P2020 DS Device Tree Source 8dc37374bSHongtao Jia * Copyright 2009 Freescale Semiconductor Inc. 9dc37374bSHongtao Jia */ 10dc37374bSHongtao Jia 11dc37374bSHongtao Jia/include/ "p2020si-pre.dtsi" 12dc37374bSHongtao Jia 13dc37374bSHongtao Jia/ { 14dc37374bSHongtao Jia model = "GE_IMP3A"; 15dc37374bSHongtao Jia compatible = "ge,imp3a"; 16dc37374bSHongtao Jia 17dc37374bSHongtao Jia memory { 18dc37374bSHongtao Jia device_type = "memory"; 19dc37374bSHongtao Jia }; 20dc37374bSHongtao Jia 21dc37374bSHongtao Jia lbc: localbus@fef05000 { 22dc37374bSHongtao Jia reg = <0 0xfef05000 0 0x1000>; 23dc37374bSHongtao Jia 24dc37374bSHongtao Jia ranges = <0x0 0x0 0x0 0xff000000 0x01000000 25dc37374bSHongtao Jia 0x1 0x0 0x0 0xe0000000 0x08000000 26dc37374bSHongtao Jia 0x2 0x0 0x0 0xe8000000 0x08000000 27dc37374bSHongtao Jia 0x3 0x0 0x0 0xfc100000 0x00020000 28dc37374bSHongtao Jia 0x4 0x0 0x0 0xfc000000 0x00008000 29dc37374bSHongtao Jia 0x5 0x0 0x0 0xfc008000 0x00008000 30dc37374bSHongtao Jia 0x6 0x0 0x0 0xfee00000 0x00040000 31dc37374bSHongtao Jia 0x7 0x0 0x0 0xfee80000 0x00040000>; 32dc37374bSHongtao Jia 33dc37374bSHongtao Jia /* nor@0,0 is a mirror of part of the memory in nor@1,0 34dc37374bSHongtao Jia nor@0,0 { 35dc37374bSHongtao Jia #address-cells = <1>; 36dc37374bSHongtao Jia #size-cells = <1>; 37dc37374bSHongtao Jia compatible = "ge,imp3a-firmware-mirror", "cfi-flash"; 38dc37374bSHongtao Jia reg = <0x0 0x0 0x1000000>; 39dc37374bSHongtao Jia bank-width = <2>; 40dc37374bSHongtao Jia device-width = <1>; 41dc37374bSHongtao Jia 42dc37374bSHongtao Jia partition@0 { 43dc37374bSHongtao Jia label = "firmware"; 44dc37374bSHongtao Jia reg = <0x0 0x1000000>; 45dc37374bSHongtao Jia read-only; 46dc37374bSHongtao Jia }; 47dc37374bSHongtao Jia }; 48dc37374bSHongtao Jia */ 49dc37374bSHongtao Jia 50dc37374bSHongtao Jia nor@1,0 { 51dc37374bSHongtao Jia #address-cells = <1>; 52dc37374bSHongtao Jia #size-cells = <1>; 53dc37374bSHongtao Jia compatible = "ge,imp3a-paged-flash", "cfi-flash"; 54dc37374bSHongtao Jia reg = <0x1 0x0 0x8000000>; 55dc37374bSHongtao Jia bank-width = <2>; 56dc37374bSHongtao Jia device-width = <1>; 57dc37374bSHongtao Jia 58dc37374bSHongtao Jia partition@0 { 59dc37374bSHongtao Jia label = "user"; 60dc37374bSHongtao Jia reg = <0x0 0x7800000>; 61dc37374bSHongtao Jia }; 62dc37374bSHongtao Jia 63dc37374bSHongtao Jia partition@7800000 { 64dc37374bSHongtao Jia label = "firmware"; 65dc37374bSHongtao Jia reg = <0x7800000 0x800000>; 66dc37374bSHongtao Jia read-only; 67dc37374bSHongtao Jia }; 68dc37374bSHongtao Jia }; 69dc37374bSHongtao Jia 70dc37374bSHongtao Jia nvram@3,0 { 71dc37374bSHongtao Jia device_type = "nvram"; 72dc37374bSHongtao Jia compatible = "simtek,stk14ca8"; 73dc37374bSHongtao Jia reg = <0x3 0x0 0x20000>; 74dc37374bSHongtao Jia }; 75dc37374bSHongtao Jia 76dc37374bSHongtao Jia fpga@4,0 { 77dc37374bSHongtao Jia compatible = "ge,imp3a-fpga-regs"; 78dc37374bSHongtao Jia reg = <0x4 0x0 0x20>; 79dc37374bSHongtao Jia }; 80dc37374bSHongtao Jia 81dc37374bSHongtao Jia gef_pic: pic@4,20 { 82dc37374bSHongtao Jia #interrupt-cells = <1>; 83dc37374bSHongtao Jia interrupt-controller; 84dc37374bSHongtao Jia device_type = "interrupt-controller"; 85dc37374bSHongtao Jia compatible = "ge,imp3a-fpga-pic", "gef,fpga-pic-1.00"; 86dc37374bSHongtao Jia reg = <0x4 0x20 0x20>; 87dc37374bSHongtao Jia interrupts = <6 7 0 0>; 88dc37374bSHongtao Jia }; 89dc37374bSHongtao Jia 90dc37374bSHongtao Jia gef_gpio: gpio@4,400 { 91dc37374bSHongtao Jia #gpio-cells = <2>; 92dc37374bSHongtao Jia compatible = "ge,imp3a-gpio"; 93dc37374bSHongtao Jia reg = <0x4 0x400 0x24>; 94dc37374bSHongtao Jia gpio-controller; 95dc37374bSHongtao Jia }; 96dc37374bSHongtao Jia 97dc37374bSHongtao Jia wdt@4,800 { 98dc37374bSHongtao Jia compatible = "ge,imp3a-fpga-wdt", "gef,fpga-wdt-1.00", 99dc37374bSHongtao Jia "gef,fpga-wdt"; 100dc37374bSHongtao Jia reg = <0x4 0x800 0x8>; 101dc37374bSHongtao Jia interrupts = <10 4>; 102dc37374bSHongtao Jia interrupt-parent = <&gef_pic>; 103dc37374bSHongtao Jia }; 104dc37374bSHongtao Jia 105dc37374bSHongtao Jia /* Second watchdog available, driver currently supports one. 106dc37374bSHongtao Jia wdt@4,808 { 107dc37374bSHongtao Jia compatible = "gef,imp3a-fpga-wdt", "gef,fpga-wdt-1.00", 108dc37374bSHongtao Jia "gef,fpga-wdt"; 109dc37374bSHongtao Jia reg = <0x4 0x808 0x8>; 110dc37374bSHongtao Jia interrupts = <9 4>; 111dc37374bSHongtao Jia interrupt-parent = <&gef_pic>; 112dc37374bSHongtao Jia }; 113dc37374bSHongtao Jia */ 114dc37374bSHongtao Jia 115dc37374bSHongtao Jia nand@6,0 { 116dc37374bSHongtao Jia compatible = "fsl,elbc-fcm-nand"; 117dc37374bSHongtao Jia reg = <0x6 0x0 0x40000>; 118dc37374bSHongtao Jia }; 119dc37374bSHongtao Jia 120dc37374bSHongtao Jia nand@7,0 { 121dc37374bSHongtao Jia compatible = "fsl,elbc-fcm-nand"; 122dc37374bSHongtao Jia reg = <0x7 0x0 0x40000>; 123dc37374bSHongtao Jia }; 124dc37374bSHongtao Jia }; 125dc37374bSHongtao Jia 126dc37374bSHongtao Jia soc: soc@fef00000 { 127dc37374bSHongtao Jia ranges = <0x0 0 0xfef00000 0x100000>; 128dc37374bSHongtao Jia 129dc37374bSHongtao Jia i2c@3000 { 130dc37374bSHongtao Jia hwmon@48 { 131dc37374bSHongtao Jia compatible = "national,lm92"; 132dc37374bSHongtao Jia reg = <0x48>; 133dc37374bSHongtao Jia }; 134dc37374bSHongtao Jia 135dc37374bSHongtao Jia hwmon@4c { 136dc37374bSHongtao Jia compatible = "adi,adt7461"; 137dc37374bSHongtao Jia reg = <0x4c>; 138dc37374bSHongtao Jia }; 139dc37374bSHongtao Jia 140dc37374bSHongtao Jia rtc@51 { 141dc37374bSHongtao Jia compatible = "epson,rx8581"; 142dc37374bSHongtao Jia reg = <0x51>; 143dc37374bSHongtao Jia }; 144dc37374bSHongtao Jia 145dc37374bSHongtao Jia eti@6b { 146dc37374bSHongtao Jia compatible = "dallas,ds1682"; 147dc37374bSHongtao Jia reg = <0x6b>; 148dc37374bSHongtao Jia }; 149dc37374bSHongtao Jia }; 150dc37374bSHongtao Jia 151dc37374bSHongtao Jia usb@22000 { 152dc37374bSHongtao Jia phy_type = "ulpi"; 153dc37374bSHongtao Jia dr_mode = "host"; 154dc37374bSHongtao Jia }; 155dc37374bSHongtao Jia 156dc37374bSHongtao Jia mdio@24520 { 157dc37374bSHongtao Jia phy0: ethernet-phy@0 { 158dc37374bSHongtao Jia interrupt-parent = <&gef_pic>; 159dc37374bSHongtao Jia interrupts = <0xc 0x4>; 160dc37374bSHongtao Jia reg = <0x1>; 161dc37374bSHongtao Jia }; 162dc37374bSHongtao Jia phy1: ethernet-phy@1 { 163dc37374bSHongtao Jia interrupt-parent = <&gef_pic>; 164dc37374bSHongtao Jia interrupts = <0xb 0x4>; 165dc37374bSHongtao Jia reg = <0x2>; 166dc37374bSHongtao Jia }; 167dc37374bSHongtao Jia tbi0: tbi-phy@11 { 168dc37374bSHongtao Jia reg = <0x11>; 169dc37374bSHongtao Jia device_type = "tbi-phy"; 170dc37374bSHongtao Jia }; 171dc37374bSHongtao Jia }; 172dc37374bSHongtao Jia 173dc37374bSHongtao Jia mdio@25520 { 174dc37374bSHongtao Jia tbi1: tbi-phy@11 { 175dc37374bSHongtao Jia reg = <0x11>; 176dc37374bSHongtao Jia device_type = "tbi-phy"; 177dc37374bSHongtao Jia }; 178dc37374bSHongtao Jia }; 179dc37374bSHongtao Jia 180dc37374bSHongtao Jia mdio@26520 { 181dc37374bSHongtao Jia status = "disabled"; 182dc37374bSHongtao Jia }; 183dc37374bSHongtao Jia 184dc37374bSHongtao Jia enet0: ethernet@24000 { 185dc37374bSHongtao Jia tbi-handle = <&tbi0>; 186dc37374bSHongtao Jia phy-handle = <&phy0>; 187dc37374bSHongtao Jia phy-connection-type = "gmii"; 188dc37374bSHongtao Jia }; 189dc37374bSHongtao Jia 190dc37374bSHongtao Jia enet1: ethernet@25000 { 191dc37374bSHongtao Jia tbi-handle = <&tbi1>; 192dc37374bSHongtao Jia phy-handle = <&phy1>; 193dc37374bSHongtao Jia phy-connection-type = "gmii"; 194dc37374bSHongtao Jia }; 195dc37374bSHongtao Jia 196dc37374bSHongtao Jia enet2: ethernet@26000 { 197dc37374bSHongtao Jia status = "disabled"; 198dc37374bSHongtao Jia }; 199dc37374bSHongtao Jia }; 200dc37374bSHongtao Jia 201dc37374bSHongtao Jia pci0: pcie@fef08000 { 202dc37374bSHongtao Jia ranges = <0x2000000 0x0 0xc0000000 0 0xc0000000 0x0 0x20000000 203dc37374bSHongtao Jia 0x1000000 0x0 0x00000000 0 0xfe020000 0x0 0x10000>; 204dc37374bSHongtao Jia reg = <0 0xfef08000 0 0x1000>; 205dc37374bSHongtao Jia 206dc37374bSHongtao Jia pcie@0 { 207dc37374bSHongtao Jia ranges = <0x2000000 0x0 0xc0000000 208dc37374bSHongtao Jia 0x2000000 0x0 0xc0000000 209dc37374bSHongtao Jia 0x0 0x20000000 210dc37374bSHongtao Jia 211dc37374bSHongtao Jia 0x1000000 0x0 0x0 212dc37374bSHongtao Jia 0x1000000 0x0 0x0 213dc37374bSHongtao Jia 0x0 0x10000>; 214dc37374bSHongtao Jia }; 215dc37374bSHongtao Jia }; 216dc37374bSHongtao Jia 217dc37374bSHongtao Jia pci1: pcie@fef09000 { 218dc37374bSHongtao Jia reg = <0 0xfef09000 0 0x1000>; 219dc37374bSHongtao Jia ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000 220dc37374bSHongtao Jia 0x1000000 0x0 0x00000000 0 0xfe010000 0x0 0x10000>; 221dc37374bSHongtao Jia 222dc37374bSHongtao Jia pcie@0 { 223dc37374bSHongtao Jia ranges = <0x2000000 0x0 0xa0000000 224dc37374bSHongtao Jia 0x2000000 0x0 0xa0000000 225dc37374bSHongtao Jia 0x0 0x20000000 226dc37374bSHongtao Jia 227dc37374bSHongtao Jia 0x1000000 0x0 0x0 228dc37374bSHongtao Jia 0x1000000 0x0 0x0 229dc37374bSHongtao Jia 0x0 0x10000>; 230dc37374bSHongtao Jia }; 231dc37374bSHongtao Jia 232dc37374bSHongtao Jia }; 233dc37374bSHongtao Jia 234dc37374bSHongtao Jia pci2: pcie@fef0a000 { 235dc37374bSHongtao Jia reg = <0 0xfef0a000 0 0x1000>; 236dc37374bSHongtao Jia ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000 237dc37374bSHongtao Jia 0x1000000 0x0 0x00000000 0 0xfe000000 0x0 0x10000>; 238dc37374bSHongtao Jia 239dc37374bSHongtao Jia pcie@0 { 240dc37374bSHongtao Jia ranges = <0x2000000 0x0 0x80000000 241dc37374bSHongtao Jia 0x2000000 0x0 0x80000000 242dc37374bSHongtao Jia 0x0 0x20000000 243dc37374bSHongtao Jia 244dc37374bSHongtao Jia 0x1000000 0x0 0x0 245dc37374bSHongtao Jia 0x1000000 0x0 0x0 246dc37374bSHongtao Jia 0x0 0x10000>; 247dc37374bSHongtao Jia }; 248dc37374bSHongtao Jia }; 249dc37374bSHongtao Jia}; 250dc37374bSHongtao Jia 251dc37374bSHongtao Jia/include/ "p2020si-post.dtsi" 252