1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later 2c66ec88fSEmmanuel Vadot/* 3c66ec88fSEmmanuel Vadot * Freescale Media5200 board Device Tree Source 4c66ec88fSEmmanuel Vadot * 5c66ec88fSEmmanuel Vadot * Copyright 2009 Secret Lab Technologies Ltd. 6c66ec88fSEmmanuel Vadot * Grant Likely <grant.likely@secretlab.ca> 7c66ec88fSEmmanuel Vadot * Steven Cavanagh <scavanagh@secretlab.ca> 8c66ec88fSEmmanuel Vadot */ 9c66ec88fSEmmanuel Vadot 10c66ec88fSEmmanuel Vadot/include/ "mpc5200b.dtsi" 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadot&gpt0 { fsl,has-wdt; }; 13c66ec88fSEmmanuel Vadot 14c66ec88fSEmmanuel Vadot/ { 15c66ec88fSEmmanuel Vadot model = "fsl,media5200"; 16c66ec88fSEmmanuel Vadot compatible = "fsl,media5200"; 17c66ec88fSEmmanuel Vadot 18c66ec88fSEmmanuel Vadot aliases { 19c66ec88fSEmmanuel Vadot console = &console; 20c66ec88fSEmmanuel Vadot ethernet0 = ð0; 21c66ec88fSEmmanuel Vadot }; 22c66ec88fSEmmanuel Vadot 23c66ec88fSEmmanuel Vadot chosen { 24c66ec88fSEmmanuel Vadot stdout-path = &console; 25c66ec88fSEmmanuel Vadot }; 26c66ec88fSEmmanuel Vadot 27c66ec88fSEmmanuel Vadot cpus { 28c66ec88fSEmmanuel Vadot PowerPC,5200@0 { 29c66ec88fSEmmanuel Vadot timebase-frequency = <33000000>; // 33 MHz, these were configured by U-Boot 30c66ec88fSEmmanuel Vadot bus-frequency = <132000000>; // 132 MHz 31c66ec88fSEmmanuel Vadot clock-frequency = <396000000>; // 396 MHz 32c66ec88fSEmmanuel Vadot }; 33c66ec88fSEmmanuel Vadot }; 34c66ec88fSEmmanuel Vadot 35*8cc087a1SEmmanuel Vadot memory@0 { 36c66ec88fSEmmanuel Vadot reg = <0x00000000 0x08000000>; // 128MB RAM 37c66ec88fSEmmanuel Vadot }; 38c66ec88fSEmmanuel Vadot 39c66ec88fSEmmanuel Vadot soc5200@f0000000 { 40c66ec88fSEmmanuel Vadot bus-frequency = <132000000>;// 132 MHz 41c66ec88fSEmmanuel Vadot 42c66ec88fSEmmanuel Vadot psc@2000 { // PSC1 43c66ec88fSEmmanuel Vadot status = "disabled"; 44c66ec88fSEmmanuel Vadot }; 45c66ec88fSEmmanuel Vadot 46c66ec88fSEmmanuel Vadot psc@2200 { // PSC2 47c66ec88fSEmmanuel Vadot status = "disabled"; 48c66ec88fSEmmanuel Vadot }; 49c66ec88fSEmmanuel Vadot 50c66ec88fSEmmanuel Vadot psc@2400 { // PSC3 51c66ec88fSEmmanuel Vadot status = "disabled"; 52c66ec88fSEmmanuel Vadot }; 53c66ec88fSEmmanuel Vadot 54c66ec88fSEmmanuel Vadot psc@2600 { // PSC4 55c66ec88fSEmmanuel Vadot status = "disabled"; 56c66ec88fSEmmanuel Vadot }; 57c66ec88fSEmmanuel Vadot 58c66ec88fSEmmanuel Vadot psc@2800 { // PSC5 59c66ec88fSEmmanuel Vadot status = "disabled"; 60c66ec88fSEmmanuel Vadot }; 61c66ec88fSEmmanuel Vadot 62c66ec88fSEmmanuel Vadot // PSC6 in uart mode 63c66ec88fSEmmanuel Vadot console: psc@2c00 { // PSC6 64c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 65c66ec88fSEmmanuel Vadot }; 66c66ec88fSEmmanuel Vadot 67c66ec88fSEmmanuel Vadot ethernet@3000 { 68c66ec88fSEmmanuel Vadot phy-handle = <&phy0>; 69c66ec88fSEmmanuel Vadot }; 70c66ec88fSEmmanuel Vadot 71c66ec88fSEmmanuel Vadot mdio@3000 { 72c66ec88fSEmmanuel Vadot phy0: ethernet-phy@0 { 73c66ec88fSEmmanuel Vadot reg = <0>; 74c66ec88fSEmmanuel Vadot }; 75c66ec88fSEmmanuel Vadot }; 76c66ec88fSEmmanuel Vadot 77c66ec88fSEmmanuel Vadot usb@1000 { 78c66ec88fSEmmanuel Vadot reg = <0x1000 0x100>; 79c66ec88fSEmmanuel Vadot }; 80c66ec88fSEmmanuel Vadot }; 81c66ec88fSEmmanuel Vadot 82c66ec88fSEmmanuel Vadot pci@f0000d00 { 83c66ec88fSEmmanuel Vadot interrupt-map-mask = <0xf800 0 0 7>; 84c66ec88fSEmmanuel Vadot interrupt-map = <0xc000 0 0 1 &media5200_fpga 0 2 // 1st slot 85c66ec88fSEmmanuel Vadot 0xc000 0 0 2 &media5200_fpga 0 3 86c66ec88fSEmmanuel Vadot 0xc000 0 0 3 &media5200_fpga 0 4 87c66ec88fSEmmanuel Vadot 0xc000 0 0 4 &media5200_fpga 0 5 88c66ec88fSEmmanuel Vadot 89c66ec88fSEmmanuel Vadot 0xc800 0 0 1 &media5200_fpga 0 3 // 2nd slot 90c66ec88fSEmmanuel Vadot 0xc800 0 0 2 &media5200_fpga 0 4 91c66ec88fSEmmanuel Vadot 0xc800 0 0 3 &media5200_fpga 0 5 92c66ec88fSEmmanuel Vadot 0xc800 0 0 4 &media5200_fpga 0 2 93c66ec88fSEmmanuel Vadot 94c66ec88fSEmmanuel Vadot 0xd000 0 0 1 &media5200_fpga 0 4 // miniPCI 95c66ec88fSEmmanuel Vadot 0xd000 0 0 2 &media5200_fpga 0 5 96c66ec88fSEmmanuel Vadot 97c66ec88fSEmmanuel Vadot 0xe000 0 0 1 &media5200_fpga 0 5 // CoralIP 98c66ec88fSEmmanuel Vadot >; 99*8cc087a1SEmmanuel Vadot ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000>, 100*8cc087a1SEmmanuel Vadot <0x02000000 0 0xa0000000 0xa0000000 0 0x10000000>, 101*8cc087a1SEmmanuel Vadot <0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; 102c66ec88fSEmmanuel Vadot interrupt-parent = <&mpc5200_pic>; 103c66ec88fSEmmanuel Vadot }; 104c66ec88fSEmmanuel Vadot 105c66ec88fSEmmanuel Vadot localbus { 106c66ec88fSEmmanuel Vadot ranges = < 0 0 0xfc000000 0x02000000 107c66ec88fSEmmanuel Vadot 1 0 0xfe000000 0x02000000 108c66ec88fSEmmanuel Vadot 2 0 0xf0010000 0x00010000 109c66ec88fSEmmanuel Vadot 3 0 0xf0020000 0x00010000 >; 110c66ec88fSEmmanuel Vadot flash@0,0 { 111c66ec88fSEmmanuel Vadot compatible = "amd,am29lv28ml", "cfi-flash"; 112c66ec88fSEmmanuel Vadot reg = <0 0x0 0x2000000>; // 32 MB 113c66ec88fSEmmanuel Vadot bank-width = <4>; // Width in bytes of the flash bank 114c66ec88fSEmmanuel Vadot device-width = <2>; // Two devices on each bank 115c66ec88fSEmmanuel Vadot }; 116c66ec88fSEmmanuel Vadot 117c66ec88fSEmmanuel Vadot flash@1,0 { 118c66ec88fSEmmanuel Vadot compatible = "amd,am29lv28ml", "cfi-flash"; 119c66ec88fSEmmanuel Vadot reg = <1 0 0x2000000>; // 32 MB 120c66ec88fSEmmanuel Vadot bank-width = <4>; // Width in bytes of the flash bank 121c66ec88fSEmmanuel Vadot device-width = <2>; // Two devices on each bank 122c66ec88fSEmmanuel Vadot }; 123c66ec88fSEmmanuel Vadot 124c66ec88fSEmmanuel Vadot media5200_fpga: fpga@2,0 { 125c66ec88fSEmmanuel Vadot compatible = "fsl,media5200-fpga"; 126c66ec88fSEmmanuel Vadot interrupt-controller; 127c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; // 0:bank 1:id; no type field 128c66ec88fSEmmanuel Vadot reg = <2 0 0x10000>; 129c66ec88fSEmmanuel Vadot 130c66ec88fSEmmanuel Vadot interrupt-parent = <&mpc5200_pic>; 131c66ec88fSEmmanuel Vadot interrupts = <0 0 3 // IRQ bank 0 132c66ec88fSEmmanuel Vadot 1 1 3>; // IRQ bank 1 133c66ec88fSEmmanuel Vadot }; 134c66ec88fSEmmanuel Vadot 135c66ec88fSEmmanuel Vadot uart@3,0 { 136c66ec88fSEmmanuel Vadot compatible = "ti,tl16c752bpt"; 137c66ec88fSEmmanuel Vadot reg = <3 0 0x10000>; 138c66ec88fSEmmanuel Vadot interrupt-parent = <&media5200_fpga>; 139c66ec88fSEmmanuel Vadot interrupts = <0 0 0 1>; // 2 irqs 140c66ec88fSEmmanuel Vadot }; 141c66ec88fSEmmanuel Vadot }; 142c66ec88fSEmmanuel Vadot}; 143