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