···11+/*22+ * Device Tree for Bluestone (APM821xx) board.33+ *44+ * Copyright (c) 2010, Applied Micro Circuits Corporation55+ * Author: Tirumala R Marri <tmarri@apm.com>66+ *77+ * This program is free software; you can redistribute it and/or88+ * modify it under the terms of the GNU General Public License as99+ * published by the Free Software Foundation; either version 2 of1010+ * the License, or (at your option) any later version.1111+ *1212+ * This program is distributed in the hope that it will be useful,1313+ * but WITHOUT ANY WARRANTY; without even the implied warranty of1414+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the1515+ * GNU General Public License for more details.1616+ *1717+ * You should have received a copy of the GNU General Public License1818+ * along with this program; if not, write to the Free Software1919+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,2020+ * MA 02111-1307 USA2121+ *2222+ */2323+2424+/dts-v1/;2525+2626+/ {2727+ #address-cells = <2>;2828+ #size-cells = <1>;2929+ model = "apm,bluestone";3030+ compatible = "apm,bluestone";3131+ dcr-parent = <&{/cpus/cpu@0}>;3232+3333+ aliases {3434+ ethernet0 = &EMAC0;3535+ serial0 = &UART0;3636+ serial1 = &UART1;3737+ };3838+3939+ cpus {4040+ #address-cells = <1>;4141+ #size-cells = <0>;4242+4343+ cpu@0 {4444+ device_type = "cpu";4545+ model = "PowerPC,apm821xx";4646+ reg = <0x00000000>;4747+ clock-frequency = <0>; /* Filled in by U-Boot */4848+ timebase-frequency = <0>; /* Filled in by U-Boot */4949+ i-cache-line-size = <32>;5050+ d-cache-line-size = <32>;5151+ i-cache-size = <32768>;5252+ d-cache-size = <32768>;5353+ dcr-controller;5454+ dcr-access-method = "native";5555+ next-level-cache = <&L2C0>;5656+ };5757+ };5858+5959+ memory {6060+ device_type = "memory";6161+ reg = <0x00000000 0x00000000 0x00000000>; /* Filled in by U-Boot */6262+ };6363+6464+ UIC0: interrupt-controller0 {6565+ compatible = "ibm,uic";6666+ interrupt-controller;6767+ cell-index = <0>;6868+ dcr-reg = <0x0c0 0x009>;6969+ #address-cells = <0>;7070+ #size-cells = <0>;7171+ #interrupt-cells = <2>;7272+ };7373+7474+ UIC1: interrupt-controller1 {7575+ compatible = "ibm,uic";7676+ interrupt-controller;7777+ cell-index = <1>;7878+ dcr-reg = <0x0d0 0x009>;7979+ #address-cells = <0>;8080+ #size-cells = <0>;8181+ #interrupt-cells = <2>;8282+ interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */8383+ interrupt-parent = <&UIC0>;8484+ };8585+8686+ UIC2: interrupt-controller2 {8787+ compatible = "ibm,uic";8888+ interrupt-controller;8989+ cell-index = <2>;9090+ dcr-reg = <0x0e0 0x009>;9191+ #address-cells = <0>;9292+ #size-cells = <0>;9393+ #interrupt-cells = <2>;9494+ interrupts = <0xa 0x4 0xb 0x4>; /* cascade */9595+ interrupt-parent = <&UIC0>;9696+ };9797+9898+ UIC3: interrupt-controller3 {9999+ compatible = "ibm,uic";100100+ interrupt-controller;101101+ cell-index = <3>;102102+ dcr-reg = <0x0f0 0x009>;103103+ #address-cells = <0>;104104+ #size-cells = <0>;105105+ #interrupt-cells = <2>;106106+ interrupts = <0x10 0x4 0x11 0x4>; /* cascade */107107+ interrupt-parent = <&UIC0>;108108+ };109109+110110+ SDR0: sdr {111111+ compatible = "ibm,sdr-apm821xx";112112+ dcr-reg = <0x00e 0x002>;113113+ };114114+115115+ CPR0: cpr {116116+ compatible = "ibm,cpr-apm821xx";117117+ dcr-reg = <0x00c 0x002>;118118+ };119119+120120+ plb {121121+ compatible = "ibm,plb4";122122+ #address-cells = <2>;123123+ #size-cells = <1>;124124+ ranges;125125+ clock-frequency = <0>; /* Filled in by U-Boot */126126+127127+ SDRAM0: sdram {128128+ compatible = "ibm,sdram-apm821xx";129129+ dcr-reg = <0x010 0x002>;130130+ };131131+132132+ MAL0: mcmal {133133+ compatible = "ibm,mcmal2";134134+ descriptor-memory = "ocm";135135+ dcr-reg = <0x180 0x062>;136136+ num-tx-chans = <1>;137137+ num-rx-chans = <1>;138138+ #address-cells = <0>;139139+ #size-cells = <0>;140140+ interrupt-parent = <&UIC2>;141141+ interrupts = < /*TXEOB*/ 0x6 0x4142142+ /*RXEOB*/ 0x7 0x4143143+ /*SERR*/ 0x3 0x4144144+ /*TXDE*/ 0x4 0x4145145+ /*RXDE*/ 0x5 0x4146146+ };147147+148148+ POB0: opb {149149+ compatible = "ibm,opb";150150+ #address-cells = <1>;151151+ #size-cells = <1>;152152+ ranges = <0xb0000000 0x00000004 0xb0000000 0x50000000>;153153+ clock-frequency = <0>; /* Filled in by U-Boot */154154+155155+ EBC0: ebc {156156+ compatible = "ibm,ebc";157157+ dcr-reg = <0x012 0x002>;158158+ #address-cells = <2>;159159+ #size-cells = <1>;160160+ clock-frequency = <0>; /* Filled in by U-Boot */161161+ /* ranges property is supplied by U-Boot */162162+ ranges = < 0x00000003 0x00000000 0xe0000000 0x8000000>;163163+ interrupts = <0x6 0x4>;164164+ interrupt-parent = <&UIC1>;165165+166166+ nor_flash@0,0 {167167+ compatible = "amd,s29gl512n", "cfi-flash";168168+ bank-width = <2>;169169+ reg = <0x00000000 0x00000000 0x00400000>;170170+ #address-cells = <1>;171171+ #size-cells = <1>;172172+ partition@0 {173173+ label = "kernel";174174+ reg = <0x00000000 0x00180000>;175175+ };176176+ partition@180000 {177177+ label = "env";178178+ reg = <0x00180000 0x00020000>;179179+ };180180+ partition@1a0000 {181181+ label = "u-boot";182182+ reg = <0x001a0000 0x00060000>;183183+ };184184+ };185185+ }186186+187187+ UART0: serial@ef600300 {188188+ device_type = "serial";189189+ compatible = "ns16550";190190+ reg = <0xef600300 0x00000008>;191191+ virtual-reg = <0xef600300>;192192+ clock-frequency = <0>; /* Filled in by U-Boot */193193+ current-speed = <0>; /* Filled in by U-Boot */194194+ interrupt-parent = <&UIC1>;195195+ interrupts = <0x1 0x4>;196196+ };197197+198198+ IIC0: i2c@ef600700 {199199+ compatible = "ibm,iic";200200+ reg = <0xef600700 0x00000014>;201201+ interrupt-parent = <&UIC0>;202202+ interrupts = <0x2 0x4>;203203+ };204204+205205+ IIC1: i2c@ef600800 {206206+ compatible = "ibm,iic";207207+ reg = <0xef600800 0x00000014>;208208+ interrupt-parent = <&UIC0>;209209+ interrupts = <0x3 0x4>;210210+ };211211+212212+ RGMII0: emac-rgmii@ef601500 {213213+ compatible = "ibm,rgmii";214214+ reg = <0xef601500 0x00000008>;215215+ has-mdio;216216+ };217217+218218+ TAH0: emac-tah@ef601350 {219219+ compatible = "ibm,tah";220220+ reg = <0xef601350 0x00000030>;221221+ };222222+223223+ EMAC0: ethernet@ef600c00 {224224+ device_type = "network";225225+ compatible = "ibm,emac4sync";226226+ interrupt-parent = <&EMAC0>;227227+ interrupts = <0x0 0x1>;228228+ #interrupt-cells = <1>;229229+ #address-cells = <0>;230230+ #size-cells = <0>;231231+ interrupt-map = </*Status*/ 0x0 &UIC2 0x10 0x4232232+ /*Wake*/ 0x1 &UIC2 0x14 0x4>;233233+ reg = <0xef600c00 0x000000c4>;234234+ local-mac-address = [000000000000]; /* Filled in by U-Boot */235235+ mal-device = <&MAL0>;236236+ mal-tx-channel = <0>;237237+ mal-rx-channel = <0>;238238+ cell-index = <0>;239239+ max-frame-size = <9000>;240240+ rx-fifo-size = <16384>;241241+ tx-fifo-size = <2048>;242242+ phy-mode = "rgmii";243243+ phy-map = <0x00000000>;244244+ rgmii-device = <&RGMII0>;245245+ rgmii-channel = <0>;246246+ tah-device = <&TAH0>;247247+ tah-channel = <0>;248248+ has-inverted-stacr-oc;249249+ has-new-stacr-staopc;250250+ };251251+ };252252+253253+ };254254+};
+68
arch/powerpc/configs/44x/bluestone_defconfig
···11+CONFIG_44x=y22+CONFIG_EXPERIMENTAL=y33+CONFIG_SYSVIPC=y44+CONFIG_POSIX_MQUEUE=y55+CONFIG_LOG_BUF_SHIFT=1466+CONFIG_BLK_DEV_INITRD=y77+CONFIG_EMBEDDED=y88+# CONFIG_VM_EVENT_COUNTERS is not set99+# CONFIG_PCI_QUIRKS is not set1010+# CONFIG_COMPAT_BRK is not set1111+CONFIG_BLUESTONE=y1212+# CONFIG_EBONY is not set1313+# CONFIG_KVM_GUEST is not set1414+CONFIG_NO_HZ=y1515+CONFIG_HIGH_RES_TIMERS=y1616+CONFIG_SPARSE_IRQ=y1717+CONFIG_CMDLINE_BOOL=y1818+CONFIG_CMDLINE=""1919+CONFIG_NET=y2020+CONFIG_PACKET=y2121+CONFIG_UNIX=y2222+CONFIG_INET=y2323+CONFIG_IP_PNP=y2424+CONFIG_IP_PNP_DHCP=y2525+CONFIG_IP_PNP_BOOTP=y2626+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"2727+CONFIG_CONNECTOR=y2828+CONFIG_MTD=y2929+CONFIG_MTD_PARTITIONS=y3030+CONFIG_MTD_CMDLINE_PARTS=y3131+CONFIG_MTD_OF_PARTS=y3232+CONFIG_MTD_CHAR=y3333+CONFIG_MTD_BLOCK=y3434+CONFIG_MTD_CFI=y3535+CONFIG_MTD_CFI_AMDSTD=y3636+CONFIG_MTD_PHYSMAP_OF=y3737+CONFIG_PROC_DEVICETREE=y3838+CONFIG_BLK_DEV_RAM=y3939+CONFIG_BLK_DEV_RAM_SIZE=350004040+CONFIG_NETDEVICES=y4141+CONFIG_NET_ETHERNET=y4242+CONFIG_IBM_NEW_EMAC=y4343+CONFIG_IBM_NEW_EMAC_RXB=2564444+CONFIG_IBM_NEW_EMAC_TXB=2564545+CONFIG_SERIAL_8250=y4646+CONFIG_SERIAL_8250_CONSOLE=y4747+CONFIG_SERIAL_8250_NR_UARTS=24848+CONFIG_SERIAL_8250_RUNTIME_UARTS=24949+CONFIG_SERIAL_8250_EXTENDED=y5050+CONFIG_SERIAL_8250_SHARE_IRQ=y5151+CONFIG_SERIAL_OF_PLATFORM=y5252+CONFIG_I2C=y5353+CONFIG_I2C_CHARDEV=y5454+CONFIG_I2C_IBM_IIC=y5555+CONFIG_SENSORS_AD7414=y5656+# CONFIG_HID_SUPPORT is not set5757+# CONFIG_USB_SUPPORT is not set5858+CONFIG_RTC_CLASS=y5959+CONFIG_RTC_DRV_M41T80=y6060+CONFIG_EXT2_FS=y6161+CONFIG_EXT3_FS=y6262+CONFIG_PROC_KCORE=y6363+CONFIG_TMPFS=y6464+CONFIG_CRAMFS=y6565+CONFIG_NFS_FS=y6666+CONFIG_NFS_V3=y6767+CONFIG_ROOT_NFS=y6868+CONFIG_NLS=y
+5-4
arch/powerpc/configs/ppc44x_defconfig
···1212CONFIG_MODULE_UNLOAD=y1313# CONFIG_BLK_DEV_BSG is not set1414CONFIG_BAMBOO=y1515+CONFIG_BLUESTONE=y1516CONFIG_SAM440EP=y1617CONFIG_SEQUOIA=y1718CONFIG_TAISHAN=y···9897CONFIG_EXT2_FS=y9998CONFIG_EXT3_FS=m10099# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set101101-CONFIG_INOTIFY=y102100CONFIG_VFAT_FS=m103101CONFIG_PROC_KCORE=y104102CONFIG_TMPFS=y105103CONFIG_JFFS2_FS=y106104CONFIG_UBIFS_FS=m107105CONFIG_UBIFS_FS_XATTR=y106106+CONFIG_LOGFS=m108107CONFIG_CRAMFS=y108108+CONFIG_SQUASHFS=m109109+CONFIG_SQUASHFS_XATTR=y110110+CONFIG_SQUASHFS_LZO=y109111CONFIG_NFS_FS=y110112CONFIG_NFS_V3=y111113CONFIG_ROOT_NFS=y···120116CONFIG_DETECT_HUNG_TASK=y121117# CONFIG_RCU_CPU_STALL_DETECTOR is not set122118CONFIG_SYSCTL_SYSCALL_CHECK=y123123-CONFIG_CRYPTO_CBC=y124119CONFIG_CRYPTO_ECB=y125120CONFIG_CRYPTO_PCBC=y126126-CONFIG_CRYPTO_MD5=y127127-CONFIG_CRYPTO_DES=y128121# CONFIG_CRYPTO_ANSI_CPRNG is not set129122# CONFIG_CRYPTO_HW is not set130123CONFIG_VIRTUALIZATION=y
···1717 help1818 This option enables support for the IBM PPC440EP evaluation board.19192020+config BLUESTONE2121+ bool "Bluestone"2222+ depends on 44x2323+ default n2424+ select PPC44x_SIMPLE2525+ select APM821xx2626+ select IBM_NEW_EMAC_RGMII2727+ help2828+ This option enables support for the APM APM821xx Evaluation board.2929+2030config EBONY2131 bool "Ebony"2232 depends on 44x···301291 select IBM_NEW_EMAC_EMAC4302292 select IBM_NEW_EMAC_RGMII303293 select IBM_NEW_EMAC_ZMII294294+ select IBM_NEW_EMAC_TAH295295+296296+config APM821xx297297+ bool298298+ select PPC_FPU299299+ select IBM_NEW_EMAC_EMAC4304300 select IBM_NEW_EMAC_TAH305301306302# 44x errata/workaround config symbols, selected by the CPU models above