1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later 2c66ec88fSEmmanuel Vadot/* 3c66ec88fSEmmanuel Vadot * a4m072 board Device Tree Source 4c66ec88fSEmmanuel Vadot * 5c66ec88fSEmmanuel Vadot * Copyright (C) 2011 DENX Software Engineering GmbH 6c66ec88fSEmmanuel Vadot * Heiko Schocher <hs@denx.de> 7c66ec88fSEmmanuel Vadot * 8c66ec88fSEmmanuel Vadot * Copyright (C) 2007 Semihalf 9c66ec88fSEmmanuel Vadot * Marian Balakowicz <m8@semihalf.com> 10c66ec88fSEmmanuel Vadot */ 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadot/include/ "mpc5200b.dtsi" 13c66ec88fSEmmanuel Vadot 14c66ec88fSEmmanuel Vadot&gpt0 { fsl,has-wdt; }; 15c66ec88fSEmmanuel Vadot&gpt3 { gpio-controller; }; 16c66ec88fSEmmanuel Vadot&gpt4 { gpio-controller; }; 17c66ec88fSEmmanuel Vadot&gpt5 { gpio-controller; }; 18c66ec88fSEmmanuel Vadot 19c66ec88fSEmmanuel Vadot/ { 20c66ec88fSEmmanuel Vadot model = "anonymous,a4m072"; 21c66ec88fSEmmanuel Vadot compatible = "anonymous,a4m072"; 22c66ec88fSEmmanuel Vadot 23c66ec88fSEmmanuel Vadot soc5200@f0000000 { 24c66ec88fSEmmanuel Vadot #address-cells = <1>; 25c66ec88fSEmmanuel Vadot #size-cells = <1>; 26c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5200b-immr"; 27c66ec88fSEmmanuel Vadot ranges = <0 0xf0000000 0x0000c000>; 28c66ec88fSEmmanuel Vadot reg = <0xf0000000 0x00000100>; 29c66ec88fSEmmanuel Vadot bus-frequency = <0>; /* From boot loader */ 30c66ec88fSEmmanuel Vadot system-frequency = <0>; /* From boot loader */ 31c66ec88fSEmmanuel Vadot 32c66ec88fSEmmanuel Vadot cdm@200 { 33c66ec88fSEmmanuel Vadot fsl,init-ext-48mhz-en = <0x0>; 34c66ec88fSEmmanuel Vadot fsl,init-fd-enable = <0x01>; 35c66ec88fSEmmanuel Vadot fsl,init-fd-counters = <0x3333>; 36c66ec88fSEmmanuel Vadot }; 37c66ec88fSEmmanuel Vadot 38c66ec88fSEmmanuel Vadot spi@f00 { 39c66ec88fSEmmanuel Vadot status = "disabled"; 40c66ec88fSEmmanuel Vadot }; 41c66ec88fSEmmanuel Vadot 42c66ec88fSEmmanuel Vadot psc@2000 { 43c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 44c66ec88fSEmmanuel Vadot reg = <0x2000 0x100>; 45c66ec88fSEmmanuel Vadot interrupts = <2 1 0>; 46c66ec88fSEmmanuel Vadot }; 47c66ec88fSEmmanuel Vadot 48c66ec88fSEmmanuel Vadot psc@2200 { 49c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 50c66ec88fSEmmanuel Vadot reg = <0x2200 0x100>; 51c66ec88fSEmmanuel Vadot interrupts = <2 2 0>; 52c66ec88fSEmmanuel Vadot }; 53c66ec88fSEmmanuel Vadot 54c66ec88fSEmmanuel Vadot psc@2400 { 55c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 56c66ec88fSEmmanuel Vadot reg = <0x2400 0x100>; 57c66ec88fSEmmanuel Vadot interrupts = <2 3 0>; 58c66ec88fSEmmanuel Vadot }; 59c66ec88fSEmmanuel Vadot 60c66ec88fSEmmanuel Vadot psc@2600 { 61c66ec88fSEmmanuel Vadot status = "disabled"; 62c66ec88fSEmmanuel Vadot }; 63c66ec88fSEmmanuel Vadot 64c66ec88fSEmmanuel Vadot psc@2800 { 65c66ec88fSEmmanuel Vadot status = "disabled"; 66c66ec88fSEmmanuel Vadot }; 67c66ec88fSEmmanuel Vadot 68c66ec88fSEmmanuel Vadot psc@2c00 { 69c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 70c66ec88fSEmmanuel Vadot reg = <0x2c00 0x100>; 71c66ec88fSEmmanuel Vadot interrupts = <2 4 0>; 72c66ec88fSEmmanuel Vadot }; 73c66ec88fSEmmanuel Vadot 74c66ec88fSEmmanuel Vadot ethernet@3000 { 75c66ec88fSEmmanuel Vadot phy-handle = <&phy0>; 76c66ec88fSEmmanuel Vadot }; 77c66ec88fSEmmanuel Vadot 78c66ec88fSEmmanuel Vadot mdio@3000 { 79c66ec88fSEmmanuel Vadot phy0: ethernet-phy@1f { 80c66ec88fSEmmanuel Vadot reg = <0x1f>; 81c66ec88fSEmmanuel Vadot interrupts = <1 2 0>; /* IRQ 2 active low */ 82c66ec88fSEmmanuel Vadot }; 83c66ec88fSEmmanuel Vadot }; 84c66ec88fSEmmanuel Vadot 85c66ec88fSEmmanuel Vadot i2c@3d00 { 86c66ec88fSEmmanuel Vadot status = "disabled"; 87c66ec88fSEmmanuel Vadot }; 88c66ec88fSEmmanuel Vadot 89c66ec88fSEmmanuel Vadot i2c@3d40 { 90c66ec88fSEmmanuel Vadot hwmon@2e { 91c66ec88fSEmmanuel Vadot compatible = "nsc,lm87"; 92c66ec88fSEmmanuel Vadot reg = <0x2e>; 93c66ec88fSEmmanuel Vadot }; 94c66ec88fSEmmanuel Vadot rtc@51 { 95c66ec88fSEmmanuel Vadot compatible = "nxp,rtc8564"; 96c66ec88fSEmmanuel Vadot reg = <0x51>; 97c66ec88fSEmmanuel Vadot }; 98c66ec88fSEmmanuel Vadot }; 99c66ec88fSEmmanuel Vadot }; 100c66ec88fSEmmanuel Vadot 101c66ec88fSEmmanuel Vadot localbus { 102c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5200b-lpb","simple-bus"; 103c66ec88fSEmmanuel Vadot #address-cells = <2>; 104c66ec88fSEmmanuel Vadot #size-cells = <1>; 105c66ec88fSEmmanuel Vadot ranges = <0 0 0xfe000000 0x02000000 106c66ec88fSEmmanuel Vadot 1 0 0x62000000 0x00400000 107c66ec88fSEmmanuel Vadot 2 0 0x64000000 0x00200000 108c66ec88fSEmmanuel Vadot 3 0 0x66000000 0x01000000 109c66ec88fSEmmanuel Vadot 6 0 0x68000000 0x01000000 110c66ec88fSEmmanuel Vadot 7 0 0x6a000000 0x00000004>; 111c66ec88fSEmmanuel Vadot 112c66ec88fSEmmanuel Vadot flash@0,0 { 113c66ec88fSEmmanuel Vadot compatible = "cfi-flash"; 114c66ec88fSEmmanuel Vadot reg = <0 0 0x02000000>; 115c66ec88fSEmmanuel Vadot bank-width = <2>; 116c66ec88fSEmmanuel Vadot #size-cells = <1>; 117c66ec88fSEmmanuel Vadot #address-cells = <1>; 118c66ec88fSEmmanuel Vadot }; 119c66ec88fSEmmanuel Vadot sram0@1,0 { 120c66ec88fSEmmanuel Vadot compatible = "mtd-ram"; 121c66ec88fSEmmanuel Vadot reg = <1 0x00000 0x00400000>; 122c66ec88fSEmmanuel Vadot bank-width = <2>; 123c66ec88fSEmmanuel Vadot }; 124c66ec88fSEmmanuel Vadot }; 125c66ec88fSEmmanuel Vadot 126c66ec88fSEmmanuel Vadot pci@f0000d00 { 127c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 128c66ec88fSEmmanuel Vadot #size-cells = <2>; 129c66ec88fSEmmanuel Vadot #address-cells = <3>; 130c66ec88fSEmmanuel Vadot device_type = "pci"; 131c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5200-pci"; 132c66ec88fSEmmanuel Vadot reg = <0xf0000d00 0x100>; 133c66ec88fSEmmanuel Vadot interrupt-map-mask = <0xf800 0 0 7>; 134c66ec88fSEmmanuel Vadot interrupt-map = < 135c66ec88fSEmmanuel Vadot /* IDSEL 0x16 */ 136c66ec88fSEmmanuel Vadot 0xc000 0 0 1 &mpc5200_pic 1 3 3 137c66ec88fSEmmanuel Vadot 0xc000 0 0 2 &mpc5200_pic 1 3 3 138c66ec88fSEmmanuel Vadot 0xc000 0 0 3 &mpc5200_pic 1 3 3 139c66ec88fSEmmanuel Vadot 0xc000 0 0 4 &mpc5200_pic 1 3 3>; 140c66ec88fSEmmanuel Vadot clock-frequency = <0>; /* From boot loader */ 141c66ec88fSEmmanuel Vadot interrupts = <2 8 0 2 9 0 2 10 0>; 142c66ec88fSEmmanuel Vadot bus-range = <0 0>; 143*8cc087a1SEmmanuel Vadot ranges = <0x42000000 0 0x80000000 0x80000000 0 0x10000000>, 144*8cc087a1SEmmanuel Vadot <0x02000000 0 0x90000000 0x90000000 0 0x10000000>, 145*8cc087a1SEmmanuel Vadot <0x01000000 0 0x00000000 0xa0000000 0 0x01000000>; 146c66ec88fSEmmanuel Vadot }; 147c66ec88fSEmmanuel Vadot}; 148