123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613 |
- /*
- * Device Tree Source for FSP2
- *
- * Copyright 2010,2012 IBM Corp.
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without
- * any warranty of any kind, whether express or implied.
- */
- /dts-v1/;
- / {
- #address-cells = <2>;
- #size-cells = <1>;
- model = "ibm,fsp2";
- compatible = "ibm,fsp2";
- dcr-parent = <&{/cpus/cpu@0}>;
- aliases {
- ethernet0 = &EMAC0;
- ethernet1 = &EMAC1;
- serial0 = &UART0;
- };
- cpus {
- #address-cells = <1>;
- #size-cells = <0>;
- cpu@0 {
- device_type = "cpu";
- model = "PowerPC, 476FSP2";
- reg = <0x0>;
- clock-frequency = <0>; /* Filled in by cuboot */
- timebase-frequency = <0>; /* Filled in by cuboot */
- i-cache-line-size = <32>;
- d-cache-line-size = <32>;
- d-cache-size = <32768>;
- i-cache-size = <32768>;
- dcr-controller;
- dcr-access-method = "native";
- };
- };
- memory {
- device_type = "memory";
- reg = <0x00000000 0x00000000 0x00000000>; /* Filled in by
- cuboot */
- };
- clocks {
- mmc_clk: mmc_clk {
- compatible = "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <50000000>;
- clock-output-names = "mmc_clk";
- };
- };
- UIC0: uic0 {
- #address-cells = <0>;
- #size-cells = <0>;
- #interrupt-cells = <2>;
- compatible = "ibm,uic";
- interrupt-controller;
- cell-index = <0>;
- dcr-reg = <0x2c0 0x8>;
- };
- /* "interrupts" field is <bit level bit level>
- first pair is non-critical, second is critical */
- UIC1_0: uic1_0 {
- #address-cells = <0>;
- #size-cells = <0>;
- #interrupt-cells = <2>;
- compatible = "ibm,uic";
- interrupt-controller;
- cell-index = <1>;
- dcr-reg = <0x2c8 0x8>;
- interrupt-parent = <&UIC0>;
- interrupts = <21 0x4 4 0x84>;
- };
- /* PSI and DMA */
- UIC1_1: uic1_1 {
- #address-cells = <0>;
- #size-cells = <0>;
- #interrupt-cells = <2>;
- compatible = "ibm,uic";
- interrupt-controller;
- cell-index = <2>;
- dcr-reg = <0x350 0x8>;
- interrupt-parent = <&UIC0>;
- interrupts = <22 0x4 5 0x84>;
- };
- /* Ethernet and USB */
- UIC1_2: uic1_2 {
- #address-cells = <0>;
- #size-cells = <0>;
- #interrupt-cells = <2>;
- compatible = "ibm,uic";
- interrupt-controller;
- cell-index = <3>;
- dcr-reg = <0x358 0x8>;
- interrupt-parent = <&UIC0>;
- interrupts = <23 0x4 6 0x84>;
- };
- /* PLB Errors */
- UIC1_3: uic1_3 {
- #address-cells = <0>;
- #size-cells = <0>;
- #interrupt-cells = <2>;
- compatible = "ibm,uic";
- interrupt-controller;
- cell-index = <4>;
- dcr-reg = <0x360 0x8>;
- interrupt-parent = <&UIC0>;
- interrupts = <24 0x4 7 0x84>;
- };
- UIC1_4: uic1_4 {
- #address-cells = <0>;
- #size-cells = <0>;
- #interrupt-cells = <2>;
- compatible = "ibm,uic";
- interrupt-controller;
- cell-index = <5>;
- dcr-reg = <0x368 0x8>;
- interrupt-parent = <&UIC0>;
- interrupts = <25 0x4 8 0x84>;
- };
- UIC1_5: uic1_5 {
- #address-cells = <0>;
- #size-cells = <0>;
- #interrupt-cells = <2>;
- compatible = "ibm,uic";
- interrupt-controller;
- cell-index = <6>;
- dcr-reg = <0x370 0x8>;
- interrupt-parent = <&UIC0>;
- interrupts = <26 0x4 9 0x84>;
- };
- /* 2nd level UICs for FSI */
- UIC2_0: uic2_0 {
- #address-cells = <0>;
- #size-cells = <0>;
- #interrupt-cells = <2>;
- compatible = "ibm,uic";
- interrupt-controller;
- cell-index = <7>;
- dcr-reg = <0x2d0 0x8>;
- interrupt-parent = <&UIC1_0>;
- interrupts = <16 0x4 0 0x84>;
- };
- UIC2_1: uic2_1 {
- #address-cells = <0>;
- #size-cells = <0>;
- #interrupt-cells = <2>;
- compatible = "ibm,uic";
- interrupt-controller;
- cell-index = <8>;
- dcr-reg = <0x2d8 0x8>;
- interrupt-parent = <&UIC1_0>;
- interrupts = <17 0x4 1 0x84>;
- };
- UIC2_2: uic2_2 {
- #address-cells = <0>;
- #size-cells = <0>;
- #interrupt-cells = <2>;
- compatible = "ibm,uic";
- interrupt-controller;
- cell-index = <9>;
- dcr-reg = <0x2e0 0x8>;
- interrupt-parent = <&UIC1_0>;
- interrupts = <18 0x4 2 0x84>;
- };
- UIC2_3: uic2_3 {
- #address-cells = <0>;
- #size-cells = <0>;
- #interrupt-cells = <2>;
- compatible = "ibm,uic";
- interrupt-controller;
- cell-index = <10>;
- dcr-reg = <0x2e8 0x8>;
- interrupt-parent = <&UIC1_0>;
- interrupts = <19 0x4 3 0x84>;
- };
- UIC2_4: uic2_4 {
- #address-cells = <0>;
- #size-cells = <0>;
- #interrupt-cells = <2>;
- compatible = "ibm,uic";
- interrupt-controller;
- cell-index = <11>;
- dcr-reg = <0x2f0 0x8>;
- interrupt-parent = <&UIC1_0>;
- interrupts = <20 0x4 4 0x84>;
- };
- UIC2_5: uic2_5 {
- #address-cells = <0>;
- #size-cells = <0>;
- #interrupt-cells = <2>;
- compatible = "ibm,uic";
- interrupt-controller;
- cell-index = <12>;
- dcr-reg = <0x2f8 0x8>;
- interrupt-parent = <&UIC1_0>;
- interrupts = <21 0x4 5 0x84>;
- };
- UIC2_6: uic2_6 {
- #address-cells = <0>;
- #size-cells = <0>;
- #interrupt-cells = <2>;
- compatible = "ibm,uic";
- interrupt-controller;
- cell-index = <13>;
- dcr-reg = <0x300 0x8>;
- interrupt-parent = <&UIC1_0>;
- interrupts = <22 0x4 6 0x84>;
- };
- UIC2_7: uic2_7 {
- #address-cells = <0>;
- #size-cells = <0>;
- #interrupt-cells = <2>;
- compatible = "ibm,uic";
- interrupt-controller;
- cell-index = <14>;
- dcr-reg = <0x308 0x8>;
- interrupt-parent = <&UIC1_0>;
- interrupts = <23 0x4 7 0x84>;
- };
- UIC2_8: uic2_8 {
- #address-cells = <0>;
- #size-cells = <0>;
- #interrupt-cells = <2>;
- compatible = "ibm,uic";
- interrupt-controller;
- cell-index = <15>;
- dcr-reg = <0x310 0x8>;
- interrupt-parent = <&UIC1_0>;
- interrupts = <24 0x4 8 0x84>;
- };
- UIC2_9: uic2_9 {
- #address-cells = <0>;
- #size-cells = <0>;
- #interrupt-cells = <2>;
- compatible = "ibm,uic";
- interrupt-controller;
- cell-index = <16>;
- dcr-reg = <0x318 0x8>;
- interrupt-parent = <&UIC1_0>;
- interrupts = <25 0x4 9 0x84>;
- };
- UIC2_10: uic2_10 {
- #address-cells = <0>;
- #size-cells = <0>;
- #interrupt-cells = <2>;
- compatible = "ibm,uic";
- interrupt-controller;
- cell-index = <17>;
- dcr-reg = <0x320 0x8>;
- interrupt-parent = <&UIC1_0>;
- interrupts = <26 0x4 10 0x84>;
- };
- UIC2_11: uic2_11 {
- #address-cells = <0>;
- #size-cells = <0>;
- #interrupt-cells = <2>;
- compatible = "ibm,uic";
- interrupt-controller;
- cell-index = <18>;
- dcr-reg = <0x328 0x8>;
- interrupt-parent = <&UIC1_0>;
- interrupts = <27 0x4 11 0x84>;
- };
- UIC2_12: uic2_12 {
- #address-cells = <0>;
- #size-cells = <0>;
- #interrupt-cells = <2>;
- compatible = "ibm,uic";
- interrupt-controller;
- cell-index = <19>;
- dcr-reg = <0x330 0x8>;
- interrupt-parent = <&UIC1_0>;
- interrupts = <28 0x4 12 0x84>;
- };
- UIC2_13: uic2_13 {
- #address-cells = <0>;
- #size-cells = <0>;
- #interrupt-cells = <2>;
- compatible = "ibm,uic";
- interrupt-controller;
- cell-index = <20>;
- dcr-reg = <0x338 0x8>;
- interrupt-parent = <&UIC1_0>;
- interrupts = <29 0x4 13 0x84>;
- };
- UIC2_14: uic2_14 {
- #address-cells = <0>;
- #size-cells = <0>;
- #interrupt-cells = <2>;
- compatible = "ibm,uic";
- interrupt-controller;
- cell-index = <21>;
- dcr-reg = <0x340 0x8>;
- interrupt-parent = <&UIC1_0>;
- interrupts = <30 0x4 14 0x84>;
- };
- UIC2_15: uic2_15 {
- #address-cells = <0>;
- #size-cells = <0>;
- #interrupt-cells = <2>;
- compatible = "ibm,uic";
- interrupt-controller;
- cell-index = <22>;
- dcr-reg = <0x348 0x8>;
- interrupt-parent = <&UIC1_0>;
- interrupts = <31 0x4 15 0x84>;
- };
- plb6 {
- compatible = "ibm,plb6";
- #address-cells = <2>;
- #size-cells = <1>;
- ranges;
- MCW0: memory-controller-wrapper {
- compatible = "ibm,cw-476fsp2";
- dcr-reg = <0x11111800 0x40>;
- };
- MCIF0: memory-controller {
- compatible = "ibm,sdram-476fsp2", "ibm,sdram-4xx-ddr3";
- dcr-reg = <0x11120000 0x10000>;
- mcer-device = <&MCW0>;
- interrupt-parent = <&UIC0>;
- interrupts = <10 0x84 /* ECC UE */
- 11 0x84>; /* ECC CE */
- };
- };
- plb4 {
- compatible = "ibm,plb4";
- #address-cells = <1>;
- #size-cells = <1>;
- ranges = <0x00000000 0x00000010 0x00000000 0x80000000
- 0x80000000 0x00000010 0x80000000 0x80000000>;
- clock-frequency = <333333334>;
- plb6-system-hung-irq {
- compatible = "ibm,bus-error-irq";
- #interrupt-cells = <2>;
- interrupt-parent = <&UIC0>;
- interrupts = <0 0x84>;
- };
- l2-error-irq {
- compatible = "ibm,bus-error-irq";
- #interrupt-cells = <2>;
- interrupt-parent = <&UIC0>;
- interrupts = <20 0x84>;
- };
- plb6-plb4-irq {
- compatible = "ibm,bus-error-irq";
- #interrupt-cells = <2>;
- interrupt-parent = <&UIC0>;
- interrupts = <1 0x84>;
- };
- plb4-ahb-irq {
- compatible = "ibm,bus-error-irq";
- #interrupt-cells = <2>;
- interrupt-parent = <&UIC1_3>;
- interrupts = <20 0x84>;
- };
- opbd-error-irq {
- compatible = "ibm,opbd-error-irq";
- #interrupt-cells = <2>;
- interrupt-parent = <&UIC1_4>;
- interrupts = <5 0x84>;
- };
- cmu-error-irq {
- compatible = "ibm,cmu-error-irq";
- #interrupt-cells = <2>;
- interrupt-parent = <&UIC0>;
- interrupts = <28 0x84>;
- };
- conf-error-irq {
- compatible = "ibm,conf-error-irq";
- #interrupt-cells = <2>;
- interrupt-parent = <&UIC1_4>;
- interrupts = <11 0x84>;
- };
- mc-ue-irq {
- compatible = "ibm,mc-ue-irq";
- #interrupt-cells = <2>;
- interrupt-parent = <&UIC0>;
- interrupts = <10 0x84>;
- };
- reset-warning-irq {
- compatible = "ibm,reset-warning-irq";
- #interrupt-cells = <2>;
- interrupt-parent = <&UIC0>;
- interrupts = <17 0x84>;
- };
- MAL0: mcmal0 {
- #interrupt-cells = <1>;
- #address-cells = <0>;
- #size-cells = <0>;
- compatible = "ibm,mcmal";
- dcr-reg = <0x80 0x80>;
- num-tx-chans = <1>;
- num-rx-chans = <1>;
- interrupt-parent = <&MAL0>;
- interrupts = <0 1 2 3 4>;
- /* index interrupt-parent interrupt# type */
- interrupt-map = </*TXEOB*/ 0 &UIC1_2 4 0x4
- /*RXEOB*/ 1 &UIC1_2 3 0x4
- /*SERR*/ 2 &UIC1_2 7 0x4
- /*TXDE*/ 3 &UIC1_2 6 0x4
- /*RXDE*/ 4 &UIC1_2 5 0x4>;
- };
- MAL1: mcmal1 {
- #interrupt-cells = <1>;
- #address-cells = <0>;
- #size-cells = <0>;
- compatible = "ibm,mcmal";
- dcr-reg = <0x100 0x80>;
- num-tx-chans = <1>;
- num-rx-chans = <1>;
- interrupt-parent = <&MAL1>;
- interrupts = <0 1 2 3 4>;
- /* index interrupt-parent interrupt# type */
- interrupt-map = </*TXEOB*/ 0 &UIC1_2 12 0x4
- /*RXEOB*/ 1 &UIC1_2 11 0x4
- /*SERR*/ 2 &UIC1_2 15 0x4
- /*TXDE*/ 3 &UIC1_2 14 0x4
- /*RXDE*/ 4 &UIC1_2 13 0x4>;
- };
- mmc0: mmc@20c0000 {
- compatible = "st,sdhci-stih407", "st,sdhci";
- reg = <0x020c0000 0x20000>;
- reg-names = "mmc";
- interrupts = <21 0x4>;
- interrupt-parent = <&UIC1_3>;
- interrupt-names = "mmcirq";
- pinctrl-names = "default";
- pinctrl-0 = <>;
- clock-names = "mmc";
- clocks = <&mmc_clk>;
- bus-width = <4>;
- non-removable;
- sd-uhs-sdr50;
- sd-uhs-sdr104;
- sd-uhs-ddr50;
- };
- opb {
- compatible = "ibm,opb";
- #address-cells = <1>;
- #size-cells = <1>;
- ranges; // pass-thru to parent bus
- clock-frequency = <83333334>;
- EMAC0: ethernet@b0000000 {
- linux,network-index = <0>;
- device_type = "network";
- compatible = "ibm,emac4sync";
- has-inverted-stacr-oc;
- interrupt-parent = <&UIC1_2>;
- interrupts = <1 0x4 0 0x4>;
- reg = <0xb0000000 0x100>;
- local-mac-address = [000000000000]; /* Filled in by
- cuboot */
- mal-device = <&MAL0>;
- mal-tx-channel = <0>;
- mal-rx-channel = <0>;
- cell-index = <0>;
- max-frame-size = <1500>;
- rx-fifo-size = <4096>;
- tx-fifo-size = <4096>;
- rx-fifo-size-gige = <16384>;
- tx-fifo-size-gige = <8192>;
- phy-address = <1>;
- phy-mode = "rgmii";
- phy-map = <00000003>;
- rgmii-device = <&RGMII>;
- rgmii-channel = <0>;
- };
- EMAC1: ethernet@b0000100 {
- linux,network-index = <1>;
- device_type = "network";
- compatible = "ibm,emac4sync";
- has-inverted-stacr-oc;
- interrupt-parent = <&UIC1_2>;
- interrupts = <9 0x4 8 0x4>;
- reg = <0xb0000100 0x100>;
- local-mac-address = [000000000000]; /* Filled in by
- cuboot */
- mal-device = <&MAL1>;
- mal-tx-channel = <0>;
- mal-rx-channel = <0>;
- cell-index = <1>;
- max-frame-size = <1500>;
- rx-fifo-size = <4096>;
- tx-fifo-size = <4096>;
- rx-fifo-size-gige = <16384>;
- tx-fifo-size-gige = <8192>;
- phy-address = <2>;
- phy-mode = "rgmii";
- phy-map = <00000003>;
- rgmii-device = <&RGMII>;
- rgmii-channel = <1>;
- };
- RGMII: rgmii@b0000600 {
- compatible = "ibm,rgmii";
- has-mdio;
- reg = <0xb0000600 0x8>;
- };
- UART0: serial@b0020000 {
- device_type = "serial";
- compatible = "ns16550";
- reg = <0xb0020000 0x8>;
- virtual-reg = <0xb0020000>;
- clock-frequency = <20833333>;
- current-speed = <115200>;
- interrupt-parent = <&UIC0>;
- interrupts = <31 0x4>;
- };
- };
- OHCI1: ohci@2040000 {
- compatible = "ohci-le";
- reg = <0x02040000 0xa0>;
- interrupt-parent = <&UIC1_3>;
- interrupts = <28 0x8 29 0x8>;
- };
- OHCI2: ohci@2080000 {
- compatible = "ohci-le";
- reg = <0x02080000 0xa0>;
- interrupt-parent = <&UIC1_3>;
- interrupts = <30 0x8 31 0x8>;
- };
- EHCI: ehci@2000000 {
- compatible = "usb-ehci";
- reg = <0x02000000 0xa4>;
- interrupt-parent = <&UIC1_3>;
- interrupts = <23 0x4>;
- };
- };
- chosen {
- stdout-path = "/plb/opb/serial@b0020000";
- bootargs = "console=ttyS0,115200 rw log_buf_len=32768 debug";
- };
- };
|