111eab297SBenjamin Herrenschmidt/* 211eab297SBenjamin Herrenschmidt * Device Tree Source for PlatHome OpenBlockS 600 (405EX) 311eab297SBenjamin Herrenschmidt * 411eab297SBenjamin Herrenschmidt * Copyright 2011 Ben Herrenschmidt, IBM Corp. 511eab297SBenjamin Herrenschmidt * 611eab297SBenjamin Herrenschmidt * Based on Kilauea by: 711eab297SBenjamin Herrenschmidt * 811eab297SBenjamin Herrenschmidt * Copyright 2007-2009 DENX Software Engineering, Stefan Roese <sr@denx.de> 911eab297SBenjamin Herrenschmidt * 1011eab297SBenjamin Herrenschmidt * This file is licensed under the terms of the GNU General Public 1111eab297SBenjamin Herrenschmidt * License version 2. This program is licensed "as is" without 1211eab297SBenjamin Herrenschmidt * any warranty of any kind, whether express or implied. 1311eab297SBenjamin Herrenschmidt */ 1411eab297SBenjamin Herrenschmidt 1511eab297SBenjamin Herrenschmidt/dts-v1/; 1611eab297SBenjamin Herrenschmidt 1711eab297SBenjamin Herrenschmidt/ { 1811eab297SBenjamin Herrenschmidt #address-cells = <1>; 1911eab297SBenjamin Herrenschmidt #size-cells = <1>; 2011eab297SBenjamin Herrenschmidt model = "PlatHome,OpenBlockS 600"; 2111eab297SBenjamin Herrenschmidt compatible = "plathome,obs600"; 2211eab297SBenjamin Herrenschmidt dcr-parent = <&{/cpus/cpu@0}>; 2311eab297SBenjamin Herrenschmidt 2411eab297SBenjamin Herrenschmidt aliases { 2511eab297SBenjamin Herrenschmidt ethernet0 = &EMAC0; 2611eab297SBenjamin Herrenschmidt ethernet1 = &EMAC1; 2711eab297SBenjamin Herrenschmidt serial0 = &UART0; 2811eab297SBenjamin Herrenschmidt serial1 = &UART1; 2911eab297SBenjamin Herrenschmidt }; 3011eab297SBenjamin Herrenschmidt 3111eab297SBenjamin Herrenschmidt cpus { 3211eab297SBenjamin Herrenschmidt #address-cells = <1>; 3311eab297SBenjamin Herrenschmidt #size-cells = <0>; 3411eab297SBenjamin Herrenschmidt 3511eab297SBenjamin Herrenschmidt cpu@0 { 3611eab297SBenjamin Herrenschmidt device_type = "cpu"; 3711eab297SBenjamin Herrenschmidt model = "PowerPC,405EX"; 3811eab297SBenjamin Herrenschmidt reg = <0x00000000>; 3911eab297SBenjamin Herrenschmidt clock-frequency = <0>; /* Filled in by U-Boot */ 4011eab297SBenjamin Herrenschmidt timebase-frequency = <0>; /* Filled in by U-Boot */ 4111eab297SBenjamin Herrenschmidt i-cache-line-size = <32>; 4211eab297SBenjamin Herrenschmidt d-cache-line-size = <32>; 4311eab297SBenjamin Herrenschmidt i-cache-size = <16384>; /* 16 kB */ 4411eab297SBenjamin Herrenschmidt d-cache-size = <16384>; /* 16 kB */ 4511eab297SBenjamin Herrenschmidt dcr-controller; 4611eab297SBenjamin Herrenschmidt dcr-access-method = "native"; 4711eab297SBenjamin Herrenschmidt }; 4811eab297SBenjamin Herrenschmidt }; 4911eab297SBenjamin Herrenschmidt 5011eab297SBenjamin Herrenschmidt memory { 5111eab297SBenjamin Herrenschmidt device_type = "memory"; 5211eab297SBenjamin Herrenschmidt reg = <0x00000000 0x00000000>; /* Filled in by U-Boot */ 5311eab297SBenjamin Herrenschmidt }; 5411eab297SBenjamin Herrenschmidt 5511eab297SBenjamin Herrenschmidt UIC0: interrupt-controller { 5611eab297SBenjamin Herrenschmidt compatible = "ibm,uic-405ex", "ibm,uic"; 5711eab297SBenjamin Herrenschmidt interrupt-controller; 5811eab297SBenjamin Herrenschmidt cell-index = <0>; 5911eab297SBenjamin Herrenschmidt dcr-reg = <0x0c0 0x009>; 6011eab297SBenjamin Herrenschmidt #address-cells = <0>; 6111eab297SBenjamin Herrenschmidt #size-cells = <0>; 6211eab297SBenjamin Herrenschmidt #interrupt-cells = <2>; 6311eab297SBenjamin Herrenschmidt }; 6411eab297SBenjamin Herrenschmidt 6511eab297SBenjamin Herrenschmidt UIC1: interrupt-controller1 { 6611eab297SBenjamin Herrenschmidt compatible = "ibm,uic-405ex","ibm,uic"; 6711eab297SBenjamin Herrenschmidt interrupt-controller; 6811eab297SBenjamin Herrenschmidt cell-index = <1>; 6911eab297SBenjamin Herrenschmidt dcr-reg = <0x0d0 0x009>; 7011eab297SBenjamin Herrenschmidt #address-cells = <0>; 7111eab297SBenjamin Herrenschmidt #size-cells = <0>; 7211eab297SBenjamin Herrenschmidt #interrupt-cells = <2>; 7311eab297SBenjamin Herrenschmidt interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */ 7411eab297SBenjamin Herrenschmidt interrupt-parent = <&UIC0>; 7511eab297SBenjamin Herrenschmidt }; 7611eab297SBenjamin Herrenschmidt 7711eab297SBenjamin Herrenschmidt UIC2: interrupt-controller2 { 7811eab297SBenjamin Herrenschmidt compatible = "ibm,uic-405ex","ibm,uic"; 7911eab297SBenjamin Herrenschmidt interrupt-controller; 8011eab297SBenjamin Herrenschmidt cell-index = <2>; 8111eab297SBenjamin Herrenschmidt dcr-reg = <0x0e0 0x009>; 8211eab297SBenjamin Herrenschmidt #address-cells = <0>; 8311eab297SBenjamin Herrenschmidt #size-cells = <0>; 8411eab297SBenjamin Herrenschmidt #interrupt-cells = <2>; 8511eab297SBenjamin Herrenschmidt interrupts = <0x1c 0x4 0x1d 0x4>; /* cascade */ 8611eab297SBenjamin Herrenschmidt interrupt-parent = <&UIC0>; 8711eab297SBenjamin Herrenschmidt }; 8811eab297SBenjamin Herrenschmidt 8911eab297SBenjamin Herrenschmidt CPM0: cpm { 9011eab297SBenjamin Herrenschmidt compatible = "ibm,cpm"; 9111eab297SBenjamin Herrenschmidt dcr-access-method = "native"; 9211eab297SBenjamin Herrenschmidt dcr-reg = <0x0b0 0x003>; 9311eab297SBenjamin Herrenschmidt unused-units = <0x00000000>; 9411eab297SBenjamin Herrenschmidt idle-doze = <0x02000000>; 9511eab297SBenjamin Herrenschmidt standby = <0xe3e74800>; 9611eab297SBenjamin Herrenschmidt }; 9711eab297SBenjamin Herrenschmidt 9811eab297SBenjamin Herrenschmidt plb { 9911eab297SBenjamin Herrenschmidt compatible = "ibm,plb-405ex", "ibm,plb4"; 10011eab297SBenjamin Herrenschmidt #address-cells = <1>; 10111eab297SBenjamin Herrenschmidt #size-cells = <1>; 10211eab297SBenjamin Herrenschmidt ranges; 10311eab297SBenjamin Herrenschmidt clock-frequency = <0>; /* Filled in by U-Boot */ 10411eab297SBenjamin Herrenschmidt 10511eab297SBenjamin Herrenschmidt SDRAM0: memory-controller { 10611eab297SBenjamin Herrenschmidt compatible = "ibm,sdram-405ex", "ibm,sdram-4xx-ddr2"; 10711eab297SBenjamin Herrenschmidt dcr-reg = <0x010 0x002>; 10811eab297SBenjamin Herrenschmidt interrupt-parent = <&UIC2>; 10911eab297SBenjamin Herrenschmidt interrupts = <0x5 0x4 /* ECC DED Error */ 11011eab297SBenjamin Herrenschmidt 0x6 0x4>; /* ECC SEC Error */ 11111eab297SBenjamin Herrenschmidt }; 11211eab297SBenjamin Herrenschmidt 11311eab297SBenjamin Herrenschmidt CRYPTO: crypto@ef700000 { 11411eab297SBenjamin Herrenschmidt compatible = "amcc,ppc405ex-crypto", "amcc,ppc4xx-crypto"; 11511eab297SBenjamin Herrenschmidt reg = <0xef700000 0x80400>; 11611eab297SBenjamin Herrenschmidt interrupt-parent = <&UIC0>; 11711eab297SBenjamin Herrenschmidt interrupts = <0x17 0x2>; 11811eab297SBenjamin Herrenschmidt }; 11911eab297SBenjamin Herrenschmidt 12011eab297SBenjamin Herrenschmidt MAL0: mcmal { 12111eab297SBenjamin Herrenschmidt compatible = "ibm,mcmal-405ex", "ibm,mcmal2"; 12211eab297SBenjamin Herrenschmidt dcr-reg = <0x180 0x062>; 12311eab297SBenjamin Herrenschmidt num-tx-chans = <2>; 12411eab297SBenjamin Herrenschmidt num-rx-chans = <2>; 12511eab297SBenjamin Herrenschmidt interrupt-parent = <&MAL0>; 12611eab297SBenjamin Herrenschmidt interrupts = <0x0 0x1 0x2 0x3 0x4>; 12711eab297SBenjamin Herrenschmidt #interrupt-cells = <1>; 12811eab297SBenjamin Herrenschmidt #address-cells = <0>; 12911eab297SBenjamin Herrenschmidt #size-cells = <0>; 13011eab297SBenjamin Herrenschmidt interrupt-map = </*TXEOB*/ 0x0 &UIC0 0xa 0x4 13111eab297SBenjamin Herrenschmidt /*RXEOB*/ 0x1 &UIC0 0xb 0x4 13211eab297SBenjamin Herrenschmidt /*SERR*/ 0x2 &UIC1 0x0 0x4 13311eab297SBenjamin Herrenschmidt /*TXDE*/ 0x3 &UIC1 0x1 0x4 13411eab297SBenjamin Herrenschmidt /*RXDE*/ 0x4 &UIC1 0x2 0x4>; 13511eab297SBenjamin Herrenschmidt interrupt-map-mask = <0xffffffff>; 13611eab297SBenjamin Herrenschmidt }; 13711eab297SBenjamin Herrenschmidt 13811eab297SBenjamin Herrenschmidt POB0: opb { 13911eab297SBenjamin Herrenschmidt compatible = "ibm,opb-405ex", "ibm,opb"; 14011eab297SBenjamin Herrenschmidt #address-cells = <1>; 14111eab297SBenjamin Herrenschmidt #size-cells = <1>; 14211eab297SBenjamin Herrenschmidt ranges = <0x80000000 0x80000000 0x10000000 14311eab297SBenjamin Herrenschmidt 0xef600000 0xef600000 0x00a00000 14411eab297SBenjamin Herrenschmidt 0xf0000000 0xf0000000 0x10000000>; 14511eab297SBenjamin Herrenschmidt dcr-reg = <0x0a0 0x005>; 14611eab297SBenjamin Herrenschmidt clock-frequency = <0>; /* Filled in by U-Boot */ 14711eab297SBenjamin Herrenschmidt 14811eab297SBenjamin Herrenschmidt EBC0: ebc { 14911eab297SBenjamin Herrenschmidt compatible = "ibm,ebc-405ex", "ibm,ebc"; 15011eab297SBenjamin Herrenschmidt dcr-reg = <0x012 0x002>; 15111eab297SBenjamin Herrenschmidt #address-cells = <2>; 15211eab297SBenjamin Herrenschmidt #size-cells = <1>; 15311eab297SBenjamin Herrenschmidt clock-frequency = <0>; /* Filled in by U-Boot */ 15411eab297SBenjamin Herrenschmidt /* ranges property is supplied by U-Boot */ 15511eab297SBenjamin Herrenschmidt interrupts = <0x5 0x1>; 15611eab297SBenjamin Herrenschmidt interrupt-parent = <&UIC1>; 15711eab297SBenjamin Herrenschmidt 15811eab297SBenjamin Herrenschmidt nor_flash@0,0 { 15911eab297SBenjamin Herrenschmidt compatible = "amd,s29gl512n", "cfi-flash"; 16011eab297SBenjamin Herrenschmidt bank-width = <2>; 16111eab297SBenjamin Herrenschmidt reg = <0x00000000 0x00000000 0x08000000>; 16211eab297SBenjamin Herrenschmidt #address-cells = <1>; 16311eab297SBenjamin Herrenschmidt #size-cells = <1>; 16411eab297SBenjamin Herrenschmidt partition@0 { 16511eab297SBenjamin Herrenschmidt label = "kernel + initrd"; 16611eab297SBenjamin Herrenschmidt reg = <0x00000000 0x03de0000>; 16711eab297SBenjamin Herrenschmidt }; 16811eab297SBenjamin Herrenschmidt partition@3de0000 { 16911eab297SBenjamin Herrenschmidt label = "user config area"; 17011eab297SBenjamin Herrenschmidt reg = <0x03de0000 0x00080000>; 17111eab297SBenjamin Herrenschmidt }; 17211eab297SBenjamin Herrenschmidt partition@3e60000 { 17311eab297SBenjamin Herrenschmidt label = "user program area"; 17411eab297SBenjamin Herrenschmidt reg = <0x03e60000 0x04000000>; 17511eab297SBenjamin Herrenschmidt }; 17611eab297SBenjamin Herrenschmidt partition@7e60000 { 17711eab297SBenjamin Herrenschmidt label = "flat device tree"; 17811eab297SBenjamin Herrenschmidt reg = <0x07e60000 0x00080000>; 17911eab297SBenjamin Herrenschmidt }; 18011eab297SBenjamin Herrenschmidt partition@7ee0000 { 18111eab297SBenjamin Herrenschmidt label = "test program"; 18211eab297SBenjamin Herrenschmidt reg = <0x07ee0000 0x00080000>; 18311eab297SBenjamin Herrenschmidt }; 18411eab297SBenjamin Herrenschmidt partition@7f60000 { 18511eab297SBenjamin Herrenschmidt label = "u-boot env"; 18611eab297SBenjamin Herrenschmidt reg = <0x07f60000 0x00040000>; 18711eab297SBenjamin Herrenschmidt }; 18811eab297SBenjamin Herrenschmidt partition@7fa0000 { 18911eab297SBenjamin Herrenschmidt label = "u-boot"; 19011eab297SBenjamin Herrenschmidt reg = <0x07fa0000 0x00060000>; 19111eab297SBenjamin Herrenschmidt }; 19211eab297SBenjamin Herrenschmidt }; 19311eab297SBenjamin Herrenschmidt }; 19411eab297SBenjamin Herrenschmidt 19511eab297SBenjamin Herrenschmidt UART0: serial@ef600200 { 19611eab297SBenjamin Herrenschmidt device_type = "serial"; 19711eab297SBenjamin Herrenschmidt compatible = "ns16550"; 19811eab297SBenjamin Herrenschmidt reg = <0xef600200 0x00000008>; 19911eab297SBenjamin Herrenschmidt virtual-reg = <0xef600200>; 20011eab297SBenjamin Herrenschmidt clock-frequency = <0>; /* Filled in by U-Boot */ 20111eab297SBenjamin Herrenschmidt current-speed = <0>; 20211eab297SBenjamin Herrenschmidt interrupt-parent = <&UIC0>; 20311eab297SBenjamin Herrenschmidt interrupts = <0x1a 0x4>; 20411eab297SBenjamin Herrenschmidt }; 20511eab297SBenjamin Herrenschmidt 20611eab297SBenjamin Herrenschmidt UART1: serial@ef600300 { 20711eab297SBenjamin Herrenschmidt device_type = "serial"; 20811eab297SBenjamin Herrenschmidt compatible = "ns16550"; 20911eab297SBenjamin Herrenschmidt reg = <0xef600300 0x00000008>; 21011eab297SBenjamin Herrenschmidt virtual-reg = <0xef600300>; 21111eab297SBenjamin Herrenschmidt clock-frequency = <0>; /* Filled in by U-Boot */ 21211eab297SBenjamin Herrenschmidt current-speed = <0>; 21311eab297SBenjamin Herrenschmidt interrupt-parent = <&UIC0>; 21411eab297SBenjamin Herrenschmidt interrupts = <0x1 0x4>; 21511eab297SBenjamin Herrenschmidt }; 21611eab297SBenjamin Herrenschmidt 21711eab297SBenjamin Herrenschmidt IIC0: i2c@ef600400 { 21811eab297SBenjamin Herrenschmidt compatible = "ibm,iic-405ex", "ibm,iic"; 21911eab297SBenjamin Herrenschmidt reg = <0xef600400 0x00000014>; 22011eab297SBenjamin Herrenschmidt interrupt-parent = <&UIC0>; 22111eab297SBenjamin Herrenschmidt interrupts = <0x2 0x4>; 22211eab297SBenjamin Herrenschmidt #address-cells = <1>; 22311eab297SBenjamin Herrenschmidt #size-cells = <0>; 22411eab297SBenjamin Herrenschmidt 22511eab297SBenjamin Herrenschmidt rtc@68 { 22611eab297SBenjamin Herrenschmidt compatible = "dallas,ds1340"; 22711eab297SBenjamin Herrenschmidt reg = <0x68>; 22811eab297SBenjamin Herrenschmidt }; 22911eab297SBenjamin Herrenschmidt }; 23011eab297SBenjamin Herrenschmidt 23111eab297SBenjamin Herrenschmidt IIC1: i2c@ef600500 { 23211eab297SBenjamin Herrenschmidt compatible = "ibm,iic-405ex", "ibm,iic"; 23311eab297SBenjamin Herrenschmidt reg = <0xef600500 0x00000014>; 23411eab297SBenjamin Herrenschmidt interrupt-parent = <&UIC0>; 23511eab297SBenjamin Herrenschmidt interrupts = <0x7 0x4>; 23611eab297SBenjamin Herrenschmidt }; 23711eab297SBenjamin Herrenschmidt 23811eab297SBenjamin Herrenschmidt RGMII0: emac-rgmii@ef600b00 { 23911eab297SBenjamin Herrenschmidt compatible = "ibm,rgmii-405ex", "ibm,rgmii"; 24011eab297SBenjamin Herrenschmidt reg = <0xef600b00 0x00000104>; 24111eab297SBenjamin Herrenschmidt has-mdio; 24211eab297SBenjamin Herrenschmidt }; 24311eab297SBenjamin Herrenschmidt 24411eab297SBenjamin Herrenschmidt EMAC0: ethernet@ef600900 { 24511eab297SBenjamin Herrenschmidt linux,network-index = <0x0>; 24611eab297SBenjamin Herrenschmidt device_type = "network"; 24711eab297SBenjamin Herrenschmidt compatible = "ibm,emac-405ex", "ibm,emac4sync"; 24811eab297SBenjamin Herrenschmidt interrupt-parent = <&EMAC0>; 24911eab297SBenjamin Herrenschmidt interrupts = <0x0 0x1>; 25011eab297SBenjamin Herrenschmidt #interrupt-cells = <1>; 25111eab297SBenjamin Herrenschmidt #address-cells = <0>; 25211eab297SBenjamin Herrenschmidt #size-cells = <0>; 25311eab297SBenjamin Herrenschmidt interrupt-map = </*Status*/ 0x0 &UIC0 0x18 0x4 25411eab297SBenjamin Herrenschmidt /*Wake*/ 0x1 &UIC1 0x1d 0x4>; 25511eab297SBenjamin Herrenschmidt reg = <0xef600900 0x000000c4>; 25611eab297SBenjamin Herrenschmidt local-mac-address = [000000000000]; /* Filled in by U-Boot */ 25711eab297SBenjamin Herrenschmidt mal-device = <&MAL0>; 25811eab297SBenjamin Herrenschmidt mal-tx-channel = <0>; 25911eab297SBenjamin Herrenschmidt mal-rx-channel = <0>; 26011eab297SBenjamin Herrenschmidt cell-index = <0>; 26111eab297SBenjamin Herrenschmidt max-frame-size = <9000>; 26211eab297SBenjamin Herrenschmidt rx-fifo-size = <4096>; 26311eab297SBenjamin Herrenschmidt tx-fifo-size = <2048>; 26411eab297SBenjamin Herrenschmidt rx-fifo-size-gige = <16384>; 26511eab297SBenjamin Herrenschmidt tx-fifo-size-gige = <16384>; 26611eab297SBenjamin Herrenschmidt phy-mode = "rgmii"; 26711eab297SBenjamin Herrenschmidt phy-map = <0x00000000>; 26811eab297SBenjamin Herrenschmidt rgmii-device = <&RGMII0>; 26911eab297SBenjamin Herrenschmidt rgmii-channel = <0>; 27011eab297SBenjamin Herrenschmidt has-inverted-stacr-oc; 27111eab297SBenjamin Herrenschmidt has-new-stacr-staopc; 27211eab297SBenjamin Herrenschmidt }; 27311eab297SBenjamin Herrenschmidt 27411eab297SBenjamin Herrenschmidt EMAC1: ethernet@ef600a00 { 27511eab297SBenjamin Herrenschmidt linux,network-index = <0x1>; 27611eab297SBenjamin Herrenschmidt device_type = "network"; 27711eab297SBenjamin Herrenschmidt compatible = "ibm,emac-405ex", "ibm,emac4sync"; 27811eab297SBenjamin Herrenschmidt interrupt-parent = <&EMAC1>; 27911eab297SBenjamin Herrenschmidt interrupts = <0x0 0x1>; 28011eab297SBenjamin Herrenschmidt #interrupt-cells = <1>; 28111eab297SBenjamin Herrenschmidt #address-cells = <0>; 28211eab297SBenjamin Herrenschmidt #size-cells = <0>; 28311eab297SBenjamin Herrenschmidt interrupt-map = </*Status*/ 0x0 &UIC0 0x19 0x4 28411eab297SBenjamin Herrenschmidt /*Wake*/ 0x1 &UIC1 0x1f 0x4>; 28511eab297SBenjamin Herrenschmidt reg = <0xef600a00 0x000000c4>; 28611eab297SBenjamin Herrenschmidt local-mac-address = [000000000000]; /* Filled in by U-Boot */ 28711eab297SBenjamin Herrenschmidt mal-device = <&MAL0>; 28811eab297SBenjamin Herrenschmidt mal-tx-channel = <1>; 28911eab297SBenjamin Herrenschmidt mal-rx-channel = <1>; 29011eab297SBenjamin Herrenschmidt cell-index = <1>; 29111eab297SBenjamin Herrenschmidt max-frame-size = <9000>; 29211eab297SBenjamin Herrenschmidt rx-fifo-size = <4096>; 29311eab297SBenjamin Herrenschmidt tx-fifo-size = <2048>; 29411eab297SBenjamin Herrenschmidt rx-fifo-size-gige = <16384>; 29511eab297SBenjamin Herrenschmidt tx-fifo-size-gige = <16384>; 29611eab297SBenjamin Herrenschmidt phy-mode = "rgmii"; 29711eab297SBenjamin Herrenschmidt phy-map = <0x00000000>; 29811eab297SBenjamin Herrenschmidt rgmii-device = <&RGMII0>; 29911eab297SBenjamin Herrenschmidt rgmii-channel = <1>; 30011eab297SBenjamin Herrenschmidt has-inverted-stacr-oc; 30111eab297SBenjamin Herrenschmidt has-new-stacr-staopc; 30211eab297SBenjamin Herrenschmidt }; 30311eab297SBenjamin Herrenschmidt 30411eab297SBenjamin Herrenschmidt GPIO: gpio@ef600800 { 30511eab297SBenjamin Herrenschmidt device_type = "gpio"; 30611eab297SBenjamin Herrenschmidt compatible = "ibm,gpio-405ex", "ibm,ppc4xx-gpio"; 30711eab297SBenjamin Herrenschmidt reg = <0xef600800 0x50>; 30811eab297SBenjamin Herrenschmidt }; 30911eab297SBenjamin Herrenschmidt }; 31011eab297SBenjamin Herrenschmidt }; 31111eab297SBenjamin Herrenschmidt chosen { 31211eab297SBenjamin Herrenschmidt linux,stdout-path = "/plb/opb/serial@ef600200"; 31311eab297SBenjamin Herrenschmidt }; 31411eab297SBenjamin Herrenschmidt}; 315