Roland Stigge | e04920d | 2012-04-22 12:01:19 +0200 | [diff] [blame] | 1 | /* |
| 2 | * PHYTEC phyCORE-LPC3250 board |
| 3 | * |
| 4 | * Copyright 2012 Roland Stigge <stigge@antcom.de> |
| 5 | * |
| 6 | * The code contained herein is licensed under the GNU General Public |
| 7 | * License. You may obtain a copy of the GNU General Public License |
| 8 | * Version 2 or later at the following locations: |
| 9 | * |
| 10 | * http://www.opensource.org/licenses/gpl-license.html |
| 11 | * http://www.gnu.org/copyleft/gpl.html |
| 12 | */ |
| 13 | |
| 14 | /dts-v1/; |
Vladimir Zapolskiy | 1a24edd | 2015-10-18 00:35:50 +0300 | [diff] [blame] | 15 | #include "lpc32xx.dtsi" |
Roland Stigge | e04920d | 2012-04-22 12:01:19 +0200 | [diff] [blame] | 16 | |
| 17 | / { |
| 18 | model = "PHYTEC phyCORE-LPC3250 board based on NXP LPC3250"; |
| 19 | compatible = "phytec,phy3250", "nxp,lpc3250"; |
| 20 | #address-cells = <1>; |
| 21 | #size-cells = <1>; |
| 22 | |
| 23 | memory { |
| 24 | device_type = "memory"; |
Vladimir Zapolskiy | cae5949 | 2015-10-18 00:35:54 +0300 | [diff] [blame] | 25 | reg = <0x80000000 0x4000000>; |
Roland Stigge | e04920d | 2012-04-22 12:01:19 +0200 | [diff] [blame] | 26 | }; |
| 27 | |
| 28 | ahb { |
| 29 | mac: ethernet@31060000 { |
| 30 | phy-mode = "rmii"; |
| 31 | use-iram; |
| 32 | }; |
| 33 | |
Roland Stigge | e04920d | 2012-04-22 12:01:19 +0200 | [diff] [blame] | 34 | clcd@31040000 { |
| 35 | status = "okay"; |
| 36 | }; |
| 37 | |
| 38 | /* 64MB Flash via SLC NAND controller */ |
| 39 | slc: flash@20020000 { |
| 40 | status = "okay"; |
| 41 | #address-cells = <1>; |
| 42 | #size-cells = <1>; |
| 43 | |
Roland Stigge | 15ab218 | 2012-06-14 16:16:16 +0200 | [diff] [blame] | 44 | nxp,wdr-clks = <14>; |
| 45 | nxp,wwidth = <40000000>; |
| 46 | nxp,whold = <100000000>; |
| 47 | nxp,wsetup = <100000000>; |
| 48 | nxp,rdr-clks = <14>; |
| 49 | nxp,rwidth = <40000000>; |
| 50 | nxp,rhold = <66666666>; |
| 51 | nxp,rsetup = <100000000>; |
| 52 | nand-on-flash-bbt; |
| 53 | gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */ |
| 54 | |
Roland Stigge | e04920d | 2012-04-22 12:01:19 +0200 | [diff] [blame] | 55 | mtd0@00000000 { |
| 56 | label = "phy3250-boot"; |
| 57 | reg = <0x00000000 0x00064000>; |
| 58 | read-only; |
| 59 | }; |
| 60 | |
| 61 | mtd1@00064000 { |
| 62 | label = "phy3250-uboot"; |
| 63 | reg = <0x00064000 0x00190000>; |
| 64 | read-only; |
| 65 | }; |
| 66 | |
| 67 | mtd2@001f4000 { |
| 68 | label = "phy3250-ubt-prms"; |
| 69 | reg = <0x001f4000 0x00010000>; |
| 70 | }; |
| 71 | |
| 72 | mtd3@00204000 { |
| 73 | label = "phy3250-kernel"; |
| 74 | reg = <0x00204000 0x00400000>; |
| 75 | }; |
| 76 | |
| 77 | mtd4@00604000 { |
| 78 | label = "phy3250-rootfs"; |
| 79 | reg = <0x00604000 0x039fc000>; |
| 80 | }; |
| 81 | }; |
| 82 | |
| 83 | apb { |
Roland Stigge | c70426f | 2012-06-14 16:16:18 +0200 | [diff] [blame] | 84 | uart5: serial@40090000 { |
| 85 | status = "okay"; |
| 86 | }; |
| 87 | |
| 88 | uart3: serial@40080000 { |
| 89 | status = "okay"; |
| 90 | }; |
| 91 | |
Roland Stigge | e04920d | 2012-04-22 12:01:19 +0200 | [diff] [blame] | 92 | i2c1: i2c@400A0000 { |
| 93 | clock-frequency = <100000>; |
| 94 | |
| 95 | pcf8563: rtc@51 { |
| 96 | compatible = "nxp,pcf8563"; |
| 97 | reg = <0x51>; |
| 98 | }; |
| 99 | |
| 100 | uda1380: uda1380@18 { |
| 101 | compatible = "nxp,uda1380"; |
| 102 | reg = <0x18>; |
| 103 | power-gpio = <&gpio 0x59 0>; |
| 104 | reset-gpio = <&gpio 0x51 0>; |
| 105 | dac-clk = "wspll"; |
| 106 | }; |
| 107 | }; |
| 108 | |
| 109 | i2c2: i2c@400A8000 { |
| 110 | clock-frequency = <100000>; |
| 111 | }; |
| 112 | |
Roland Stigge | e04920d | 2012-04-22 12:01:19 +0200 | [diff] [blame] | 113 | ssp0: ssp@20084000 { |
Alexandre Pereira da Silva | 2e0b5a3 | 2012-06-12 10:34:12 -0300 | [diff] [blame] | 114 | #address-cells = <1>; |
| 115 | #size-cells = <0>; |
Roland Stigge | 067c182 | 2012-09-06 11:40:42 +0200 | [diff] [blame] | 116 | num-cs = <1>; |
Alexandre Pereira da Silva | 2e0b5a3 | 2012-06-12 10:34:12 -0300 | [diff] [blame] | 117 | cs-gpios = <&gpio 3 5 0>; |
| 118 | |
Roland Stigge | e04920d | 2012-04-22 12:01:19 +0200 | [diff] [blame] | 119 | eeprom: at25@0 { |
Alexandre Pereira da Silva | 2e0b5a3 | 2012-06-12 10:34:12 -0300 | [diff] [blame] | 120 | pl022,interface = <0>; |
Alexandre Pereira da Silva | 2e0b5a3 | 2012-06-12 10:34:12 -0300 | [diff] [blame] | 121 | pl022,com-mode = <0>; |
| 122 | pl022,rx-level-trig = <1>; |
| 123 | pl022,tx-level-trig = <1>; |
| 124 | pl022,ctrl-len = <11>; |
| 125 | pl022,wait-state = <0>; |
| 126 | pl022,duplex = <0>; |
| 127 | |
| 128 | at25,byte-len = <0x8000>; |
| 129 | at25,addr-mode = <2>; |
| 130 | at25,page-size = <64>; |
| 131 | |
Roland Stigge | e04920d | 2012-04-22 12:01:19 +0200 | [diff] [blame] | 132 | compatible = "atmel,at25"; |
Alexandre Pereira da Silva | 2e0b5a3 | 2012-06-12 10:34:12 -0300 | [diff] [blame] | 133 | reg = <0>; |
| 134 | spi-max-frequency = <5000000>; |
Roland Stigge | e04920d | 2012-04-22 12:01:19 +0200 | [diff] [blame] | 135 | }; |
| 136 | }; |
Roland Stigge | 2c7fa28 | 2012-06-14 16:16:18 +0200 | [diff] [blame] | 137 | |
| 138 | sd@20098000 { |
| 139 | wp-gpios = <&gpio 3 0 0>; |
| 140 | cd-gpios = <&gpio 3 1 0>; |
| 141 | cd-inverted; |
| 142 | bus-width = <4>; |
| 143 | status = "okay"; |
| 144 | }; |
Roland Stigge | e04920d | 2012-04-22 12:01:19 +0200 | [diff] [blame] | 145 | }; |
| 146 | |
| 147 | fab { |
Roland Stigge | ac5ced9 | 2012-06-14 16:16:18 +0200 | [diff] [blame] | 148 | uart2: serial@40018000 { |
| 149 | status = "okay"; |
| 150 | }; |
| 151 | |
Roland Stigge | e04920d | 2012-04-22 12:01:19 +0200 | [diff] [blame] | 152 | tsc@40048000 { |
| 153 | status = "okay"; |
| 154 | }; |
Roland Stigge | a6d1be0 | 2012-06-14 16:16:17 +0200 | [diff] [blame] | 155 | |
| 156 | key@40050000 { |
| 157 | status = "okay"; |
| 158 | keypad,num-rows = <1>; |
| 159 | keypad,num-columns = <1>; |
| 160 | nxp,debounce-delay-ms = <3>; |
| 161 | nxp,scan-delay-ms = <34>; |
| 162 | linux,keymap = <0x00000002>; |
| 163 | }; |
Roland Stigge | e04920d | 2012-04-22 12:01:19 +0200 | [diff] [blame] | 164 | }; |
| 165 | }; |
| 166 | |
| 167 | leds { |
| 168 | compatible = "gpio-leds"; |
| 169 | |
Roland Stigge | 07c7e12 | 2012-09-25 10:11:41 +0200 | [diff] [blame] | 170 | led0 { /* red */ |
| 171 | gpios = <&gpio 5 1 0>; /* GPO_P3 1, GPIO 80, active high */ |
Roland Stigge | e04920d | 2012-04-22 12:01:19 +0200 | [diff] [blame] | 172 | default-state = "off"; |
| 173 | }; |
| 174 | |
Roland Stigge | 07c7e12 | 2012-09-25 10:11:41 +0200 | [diff] [blame] | 175 | led1 { /* green */ |
| 176 | gpios = <&gpio 5 14 0>; /* GPO_P3 14, GPIO 93, active high */ |
| 177 | linux,default-trigger = "heartbeat"; |
Roland Stigge | e04920d | 2012-04-22 12:01:19 +0200 | [diff] [blame] | 178 | }; |
| 179 | }; |
| 180 | }; |
Vladimir Zapolskiy | aa29efb | 2015-10-18 00:35:57 +0300 | [diff] [blame^] | 181 | |
| 182 | /* Here, choose exactly one from: ohci, usbd */ |
| 183 | &ohci /* &usbd */ { |
| 184 | transceiver = <&isp1301>; |
| 185 | status = "okay"; |
| 186 | }; |
| 187 | |
| 188 | &i2cusb { |
| 189 | clock-frequency = <100000>; |
| 190 | |
| 191 | isp1301: usb-transceiver@2c { |
| 192 | compatible = "nxp,isp1301"; |
| 193 | reg = <0x2c>; |
| 194 | }; |
| 195 | }; |