1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later 2c66ec88fSEmmanuel Vadot/* 3c66ec88fSEmmanuel Vadot * Digsy MTC board Device Tree Source 4c66ec88fSEmmanuel Vadot * 5c66ec88fSEmmanuel Vadot * Copyright (C) 2009 Semihalf 6c66ec88fSEmmanuel Vadot * 7c66ec88fSEmmanuel Vadot * Based on the CM5200 by M. Balakowicz 8c66ec88fSEmmanuel Vadot */ 9c66ec88fSEmmanuel Vadot 10c66ec88fSEmmanuel Vadot/include/ "mpc5200b.dtsi" 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadot&gpt0 { gpio-controller; fsl,has-wdt; }; 13c66ec88fSEmmanuel Vadot&gpt1 { gpio-controller; }; 14c66ec88fSEmmanuel Vadot 15c66ec88fSEmmanuel Vadot/ { 16c66ec88fSEmmanuel Vadot model = "intercontrol,digsy-mtc"; 17c66ec88fSEmmanuel Vadot compatible = "intercontrol,digsy-mtc"; 18c66ec88fSEmmanuel Vadot 19*8cc087a1SEmmanuel Vadot memory@0 { 20c66ec88fSEmmanuel Vadot reg = <0x00000000 0x02000000>; // 32MB 21c66ec88fSEmmanuel Vadot }; 22c66ec88fSEmmanuel Vadot 23c66ec88fSEmmanuel Vadot soc5200@f0000000 { 24c66ec88fSEmmanuel Vadot rtc@800 { 25c66ec88fSEmmanuel Vadot status = "disabled"; 26c66ec88fSEmmanuel Vadot }; 27c66ec88fSEmmanuel Vadot 28c66ec88fSEmmanuel Vadot psc@2000 { // PSC1 29c66ec88fSEmmanuel Vadot status = "disabled"; 30c66ec88fSEmmanuel Vadot }; 31c66ec88fSEmmanuel Vadot 32c66ec88fSEmmanuel Vadot psc@2200 { // PSC2 33c66ec88fSEmmanuel Vadot status = "disabled"; 34c66ec88fSEmmanuel Vadot }; 35c66ec88fSEmmanuel Vadot 36c66ec88fSEmmanuel Vadot psc@2400 { // PSC3 37c66ec88fSEmmanuel Vadot status = "disabled"; 38c66ec88fSEmmanuel Vadot }; 39c66ec88fSEmmanuel Vadot 40c66ec88fSEmmanuel Vadot psc@2600 { // PSC4 41c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 42c66ec88fSEmmanuel Vadot }; 43c66ec88fSEmmanuel Vadot 44c66ec88fSEmmanuel Vadot psc@2800 { // PSC5 45c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 46c66ec88fSEmmanuel Vadot }; 47c66ec88fSEmmanuel Vadot 48c66ec88fSEmmanuel Vadot psc@2c00 { // PSC6 49c66ec88fSEmmanuel Vadot status = "disabled"; 50c66ec88fSEmmanuel Vadot }; 51c66ec88fSEmmanuel Vadot 52c66ec88fSEmmanuel Vadot ethernet@3000 { 53c66ec88fSEmmanuel Vadot phy-handle = <&phy0>; 54c66ec88fSEmmanuel Vadot }; 55c66ec88fSEmmanuel Vadot 56c66ec88fSEmmanuel Vadot mdio@3000 { 57c66ec88fSEmmanuel Vadot phy0: ethernet-phy@0 { 58c66ec88fSEmmanuel Vadot reg = <0>; 59c66ec88fSEmmanuel Vadot }; 60c66ec88fSEmmanuel Vadot }; 61c66ec88fSEmmanuel Vadot 62c66ec88fSEmmanuel Vadot i2c@3d00 { 63c66ec88fSEmmanuel Vadot eeprom@50 { 64c66ec88fSEmmanuel Vadot compatible = "atmel,24c08"; 65c66ec88fSEmmanuel Vadot reg = <0x50>; 66c66ec88fSEmmanuel Vadot }; 67c66ec88fSEmmanuel Vadot 68c66ec88fSEmmanuel Vadot rtc@56 { 69c66ec88fSEmmanuel Vadot compatible = "microcrystal,rv3029"; 70c66ec88fSEmmanuel Vadot reg = <0x56>; 71c66ec88fSEmmanuel Vadot }; 72c66ec88fSEmmanuel Vadot 73c66ec88fSEmmanuel Vadot rtc@68 { 74c66ec88fSEmmanuel Vadot compatible = "dallas,ds1339"; 75c66ec88fSEmmanuel Vadot reg = <0x68>; 76c66ec88fSEmmanuel Vadot }; 77c66ec88fSEmmanuel Vadot }; 78c66ec88fSEmmanuel Vadot 79c66ec88fSEmmanuel Vadot i2c@3d40 { 80c66ec88fSEmmanuel Vadot status = "disabled"; 81c66ec88fSEmmanuel Vadot }; 82c66ec88fSEmmanuel Vadot }; 83c66ec88fSEmmanuel Vadot 84c66ec88fSEmmanuel Vadot pci@f0000d00 { 85c66ec88fSEmmanuel Vadot interrupt-map-mask = <0xf800 0 0 7>; 86c66ec88fSEmmanuel Vadot interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3 87c66ec88fSEmmanuel Vadot 0xc000 0 0 2 &mpc5200_pic 0 0 3 88c66ec88fSEmmanuel Vadot 0xc000 0 0 3 &mpc5200_pic 0 0 3 89c66ec88fSEmmanuel Vadot 0xc000 0 0 4 &mpc5200_pic 0 0 3>; 90c66ec88fSEmmanuel Vadot clock-frequency = <0>; // From boot loader 91c66ec88fSEmmanuel Vadot interrupts = <2 8 0 2 9 0 2 10 0>; 92c66ec88fSEmmanuel Vadot bus-range = <0 0>; 93*8cc087a1SEmmanuel Vadot ranges = <0x42000000 0 0x80000000 0x80000000 0 0x10000000>, 94*8cc087a1SEmmanuel Vadot <0x02000000 0 0x90000000 0x90000000 0 0x10000000>, 95*8cc087a1SEmmanuel Vadot <0x01000000 0 0x00000000 0xa0000000 0 0x01000000>; 96c66ec88fSEmmanuel Vadot }; 97c66ec88fSEmmanuel Vadot 98c66ec88fSEmmanuel Vadot localbus { 99c66ec88fSEmmanuel Vadot ranges = <0 0 0xff000000 0x1000000 100c66ec88fSEmmanuel Vadot 4 0 0x60000000 0x0001000>; 101c66ec88fSEmmanuel Vadot 102c66ec88fSEmmanuel Vadot // 16-bit flash device at LocalPlus Bus CS0 103c66ec88fSEmmanuel Vadot flash@0,0 { 104c66ec88fSEmmanuel Vadot compatible = "cfi-flash"; 105c66ec88fSEmmanuel Vadot reg = <0 0 0x1000000>; 106c66ec88fSEmmanuel Vadot bank-width = <2>; 107c66ec88fSEmmanuel Vadot device-width = <2>; 108c66ec88fSEmmanuel Vadot #size-cells = <1>; 109c66ec88fSEmmanuel Vadot #address-cells = <1>; 110c66ec88fSEmmanuel Vadot 111c66ec88fSEmmanuel Vadot partition@0 { 112c66ec88fSEmmanuel Vadot label = "kernel"; 113c66ec88fSEmmanuel Vadot reg = <0x0 0x00200000>; 114c66ec88fSEmmanuel Vadot }; 115c66ec88fSEmmanuel Vadot partition@200000 { 116c66ec88fSEmmanuel Vadot label = "root"; 117c66ec88fSEmmanuel Vadot reg = <0x00200000 0x00300000>; 118c66ec88fSEmmanuel Vadot }; 119c66ec88fSEmmanuel Vadot partition@500000 { 120c66ec88fSEmmanuel Vadot label = "user"; 121c66ec88fSEmmanuel Vadot reg = <0x00500000 0x00a00000>; 122c66ec88fSEmmanuel Vadot }; 123c66ec88fSEmmanuel Vadot partition@f00000 { 124c66ec88fSEmmanuel Vadot label = "u-boot"; 125c66ec88fSEmmanuel Vadot reg = <0x00f00000 0x100000>; 126c66ec88fSEmmanuel Vadot }; 127c66ec88fSEmmanuel Vadot }; 128c66ec88fSEmmanuel Vadot 129c66ec88fSEmmanuel Vadot can@4,0 { 130c66ec88fSEmmanuel Vadot compatible = "nxp,sja1000"; 131c66ec88fSEmmanuel Vadot reg = <4 0x000 0x80>; 132c66ec88fSEmmanuel Vadot nxp,external-clock-frequency = <24000000>; 133c66ec88fSEmmanuel Vadot interrupts = <1 2 3>; // Level-low 134c66ec88fSEmmanuel Vadot }; 135c66ec88fSEmmanuel Vadot 136c66ec88fSEmmanuel Vadot can@4,100 { 137c66ec88fSEmmanuel Vadot compatible = "nxp,sja1000"; 138c66ec88fSEmmanuel Vadot reg = <4 0x100 0x80>; 139c66ec88fSEmmanuel Vadot nxp,external-clock-frequency = <24000000>; 140c66ec88fSEmmanuel Vadot interrupts = <1 2 3>; // Level-low 141c66ec88fSEmmanuel Vadot }; 142c66ec88fSEmmanuel Vadot 143c66ec88fSEmmanuel Vadot serial@4,200 { 144c66ec88fSEmmanuel Vadot compatible = "nxp,sc28l92"; 145c66ec88fSEmmanuel Vadot reg = <4 0x200 0x10>; 146c66ec88fSEmmanuel Vadot interrupts = <1 3 3>; 147c66ec88fSEmmanuel Vadot }; 148c66ec88fSEmmanuel Vadot }; 149c66ec88fSEmmanuel Vadot}; 150