1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later 2c66ec88fSEmmanuel Vadot/* 3c66ec88fSEmmanuel Vadot * Lite5200B board Device Tree Source 4c66ec88fSEmmanuel Vadot * 5c66ec88fSEmmanuel Vadot * Copyright 2006-2007 Secret Lab Technologies Ltd. 6c66ec88fSEmmanuel Vadot * Grant Likely <grant.likely@secretlab.ca> 7c66ec88fSEmmanuel Vadot */ 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadot/include/ "mpc5200b.dtsi" 10c66ec88fSEmmanuel Vadot 11c66ec88fSEmmanuel Vadot&gpt0 { fsl,has-wdt; }; 12c66ec88fSEmmanuel Vadot&gpt2 { gpio-controller; }; 13c66ec88fSEmmanuel Vadot&gpt3 { gpio-controller; }; 14c66ec88fSEmmanuel Vadot 15c66ec88fSEmmanuel Vadot/ { 16c66ec88fSEmmanuel Vadot model = "fsl,lite5200b"; 17c66ec88fSEmmanuel Vadot compatible = "fsl,lite5200b"; 18c66ec88fSEmmanuel Vadot 19c66ec88fSEmmanuel Vadot leds { 20c66ec88fSEmmanuel Vadot compatible = "gpio-leds"; 21c66ec88fSEmmanuel Vadot tmr2 { 22c66ec88fSEmmanuel Vadot gpios = <&gpt2 0 1>; 23c66ec88fSEmmanuel Vadot }; 24c66ec88fSEmmanuel Vadot tmr3 { 25c66ec88fSEmmanuel Vadot gpios = <&gpt3 0 1>; 26c66ec88fSEmmanuel Vadot linux,default-trigger = "heartbeat"; 27c66ec88fSEmmanuel Vadot }; 28c66ec88fSEmmanuel Vadot led1 { gpios = <&gpio_wkup 2 1>; }; 29c66ec88fSEmmanuel Vadot led2 { gpios = <&gpio_simple 3 1>; }; 30c66ec88fSEmmanuel Vadot led3 { gpios = <&gpio_wkup 3 1>; }; 31c66ec88fSEmmanuel Vadot led4 { gpios = <&gpio_simple 2 1>; }; 32c66ec88fSEmmanuel Vadot }; 33c66ec88fSEmmanuel Vadot 34*8cc087a1SEmmanuel Vadot memory@0 { 35c66ec88fSEmmanuel Vadot reg = <0x00000000 0x10000000>; // 256MB 36c66ec88fSEmmanuel Vadot }; 37c66ec88fSEmmanuel Vadot 38c66ec88fSEmmanuel Vadot soc5200@f0000000 { 39c66ec88fSEmmanuel Vadot psc@2000 { // PSC1 40c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 41c66ec88fSEmmanuel Vadot cell-index = <0>; 42c66ec88fSEmmanuel Vadot }; 43c66ec88fSEmmanuel Vadot 44c66ec88fSEmmanuel Vadot psc@2200 { // PSC2 45c66ec88fSEmmanuel Vadot status = "disabled"; 46c66ec88fSEmmanuel Vadot }; 47c66ec88fSEmmanuel Vadot 48c66ec88fSEmmanuel Vadot psc@2400 { // PSC3 49c66ec88fSEmmanuel Vadot status = "disabled"; 50c66ec88fSEmmanuel Vadot }; 51c66ec88fSEmmanuel Vadot 52c66ec88fSEmmanuel Vadot psc@2600 { // PSC4 53c66ec88fSEmmanuel Vadot status = "disabled"; 54c66ec88fSEmmanuel Vadot }; 55c66ec88fSEmmanuel Vadot 56c66ec88fSEmmanuel Vadot psc@2800 { // PSC5 57c66ec88fSEmmanuel Vadot status = "disabled"; 58c66ec88fSEmmanuel Vadot }; 59c66ec88fSEmmanuel Vadot 60c66ec88fSEmmanuel Vadot psc@2c00 { // PSC6 61c66ec88fSEmmanuel Vadot status = "disabled"; 62c66ec88fSEmmanuel Vadot }; 63c66ec88fSEmmanuel Vadot 64c66ec88fSEmmanuel Vadot // PSC2 in ac97 mode example 65c66ec88fSEmmanuel Vadot //ac97@2200 { // PSC2 66c66ec88fSEmmanuel Vadot // compatible = "fsl,mpc5200b-psc-ac97","fsl,mpc5200-psc-ac97"; 67c66ec88fSEmmanuel Vadot // cell-index = <1>; 68c66ec88fSEmmanuel Vadot //}; 69c66ec88fSEmmanuel Vadot 70c66ec88fSEmmanuel Vadot // PSC3 in CODEC mode example 71c66ec88fSEmmanuel Vadot //i2s@2400 { // PSC3 72c66ec88fSEmmanuel Vadot // compatible = "fsl,mpc5200b-psc-i2s"; //not 5200 compatible 73c66ec88fSEmmanuel Vadot // cell-index = <2>; 74c66ec88fSEmmanuel Vadot //}; 75c66ec88fSEmmanuel Vadot 76c66ec88fSEmmanuel Vadot // PSC6 in spi mode example 77c66ec88fSEmmanuel Vadot //spi@2c00 { // PSC6 78c66ec88fSEmmanuel Vadot // compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi"; 79c66ec88fSEmmanuel Vadot // cell-index = <5>; 80c66ec88fSEmmanuel Vadot //}; 81c66ec88fSEmmanuel Vadot 82c66ec88fSEmmanuel Vadot ethernet@3000 { 83c66ec88fSEmmanuel Vadot phy-handle = <&phy0>; 84c66ec88fSEmmanuel Vadot }; 85c66ec88fSEmmanuel Vadot 86c66ec88fSEmmanuel Vadot mdio@3000 { 87c66ec88fSEmmanuel Vadot phy0: ethernet-phy@0 { 88c66ec88fSEmmanuel Vadot reg = <0>; 89c66ec88fSEmmanuel Vadot }; 90c66ec88fSEmmanuel Vadot }; 91c66ec88fSEmmanuel Vadot 92c66ec88fSEmmanuel Vadot i2c@3d40 { 93c66ec88fSEmmanuel Vadot eeprom@50 { 94c66ec88fSEmmanuel Vadot compatible = "atmel,24c02"; 95c66ec88fSEmmanuel Vadot reg = <0x50>; 96c66ec88fSEmmanuel Vadot }; 97c66ec88fSEmmanuel Vadot }; 98c66ec88fSEmmanuel Vadot 99c66ec88fSEmmanuel Vadot sram@8000 { 100c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram"; 101c66ec88fSEmmanuel Vadot reg = <0x8000 0x4000>; 102c66ec88fSEmmanuel Vadot }; 103c66ec88fSEmmanuel Vadot }; 104c66ec88fSEmmanuel Vadot 105c66ec88fSEmmanuel Vadot pci@f0000d00 { 106c66ec88fSEmmanuel Vadot interrupt-map-mask = <0xf800 0 0 7>; 107c66ec88fSEmmanuel Vadot interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot 108c66ec88fSEmmanuel Vadot 0xc000 0 0 2 &mpc5200_pic 1 1 3 109c66ec88fSEmmanuel Vadot 0xc000 0 0 3 &mpc5200_pic 1 2 3 110c66ec88fSEmmanuel Vadot 0xc000 0 0 4 &mpc5200_pic 1 3 3 111c66ec88fSEmmanuel Vadot 112c66ec88fSEmmanuel Vadot 0xc800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot 113c66ec88fSEmmanuel Vadot 0xc800 0 0 2 &mpc5200_pic 1 2 3 114c66ec88fSEmmanuel Vadot 0xc800 0 0 3 &mpc5200_pic 1 3 3 115c66ec88fSEmmanuel Vadot 0xc800 0 0 4 &mpc5200_pic 0 0 3>; 116c66ec88fSEmmanuel Vadot clock-frequency = <0>; // From boot loader 117c66ec88fSEmmanuel Vadot interrupts = <2 8 0 2 9 0 2 10 0>; 118c66ec88fSEmmanuel Vadot bus-range = <0 0>; 119*8cc087a1SEmmanuel Vadot ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000>, 120*8cc087a1SEmmanuel Vadot <0x02000000 0 0xa0000000 0xa0000000 0 0x10000000>, 121*8cc087a1SEmmanuel Vadot <0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; 122c66ec88fSEmmanuel Vadot }; 123c66ec88fSEmmanuel Vadot 124c66ec88fSEmmanuel Vadot localbus { 125c66ec88fSEmmanuel Vadot ranges = <0 0 0xfe000000 0x02000000>; 126c66ec88fSEmmanuel Vadot 127c66ec88fSEmmanuel Vadot flash@0,0 { 128c66ec88fSEmmanuel Vadot compatible = "cfi-flash"; 129c66ec88fSEmmanuel Vadot reg = <0 0 0x02000000>; 130c66ec88fSEmmanuel Vadot bank-width = <1>; 131c66ec88fSEmmanuel Vadot #size-cells = <1>; 132c66ec88fSEmmanuel Vadot #address-cells = <1>; 133c66ec88fSEmmanuel Vadot 134c66ec88fSEmmanuel Vadot partition@0 { 135c66ec88fSEmmanuel Vadot label = "kernel"; 136c66ec88fSEmmanuel Vadot reg = <0x00000000 0x00200000>; 137c66ec88fSEmmanuel Vadot }; 138c66ec88fSEmmanuel Vadot partition@200000 { 139c66ec88fSEmmanuel Vadot label = "rootfs"; 140c66ec88fSEmmanuel Vadot reg = <0x00200000 0x01d00000>; 141c66ec88fSEmmanuel Vadot }; 142c66ec88fSEmmanuel Vadot partition@1f00000 { 143c66ec88fSEmmanuel Vadot label = "u-boot"; 144c66ec88fSEmmanuel Vadot reg = <0x01f00000 0x00060000>; 145c66ec88fSEmmanuel Vadot }; 146c66ec88fSEmmanuel Vadot partition@1f60000 { 147c66ec88fSEmmanuel Vadot label = "u-boot-env"; 148c66ec88fSEmmanuel Vadot reg = <0x01f60000 0x00020000>; 149c66ec88fSEmmanuel Vadot }; 150c66ec88fSEmmanuel Vadot partition@1f80000 { 151c66ec88fSEmmanuel Vadot label = "dtb"; 152c66ec88fSEmmanuel Vadot reg = <0x01f80000 0x00080000>; 153c66ec88fSEmmanuel Vadot }; 154c66ec88fSEmmanuel Vadot }; 155c66ec88fSEmmanuel Vadot }; 156c66ec88fSEmmanuel Vadot 157c66ec88fSEmmanuel Vadot}; 158