Ariel D'Alessandro | 7dfc635 | 2015-05-12 00:00:52 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Hitex LPC4350 Evaluation Board |
| 3 | * |
| 4 | * Copyright 2015 Ariel D'Alessandro <ariel.dalessandro@gmail.com> |
| 5 | * |
| 6 | * This code is released using a dual license strategy: BSD/GPL |
| 7 | * You can choose the licence that better fits your requirements. |
| 8 | * |
| 9 | * Released under the terms of 3-clause BSD License |
| 10 | * Released under the terms of GNU General Public License Version 2.0 |
| 11 | * |
| 12 | */ |
| 13 | /dts-v1/; |
| 14 | |
| 15 | #include "lpc18xx.dtsi" |
| 16 | #include "lpc4350.dtsi" |
| 17 | |
| 18 | / { |
| 19 | model = "Hitex LPC4350 Evaluation Board"; |
| 20 | compatible = "hitex,lpc4350-eval-board", "nxp,lpc4350"; |
| 21 | |
| 22 | aliases { |
| 23 | serial0 = &uart0; |
| 24 | serial1 = &uart1; |
| 25 | serial2 = &uart2; |
| 26 | serial3 = &uart3; |
| 27 | }; |
| 28 | |
| 29 | chosen { |
| 30 | stdout-path = &uart0; |
| 31 | }; |
| 32 | |
| 33 | memory { |
| 34 | device_type = "memory"; |
| 35 | reg = <0x28000000 0x800000>; /* 8 MB */ |
| 36 | }; |
| 37 | }; |
| 38 | |
Ariel D'Alessandro | 5e64720 | 2015-07-31 00:24:25 +0200 | [diff] [blame^] | 39 | &pinctrl { |
| 40 | uart0_pins: uart0-pins { |
| 41 | uart0_rx_cfg { |
| 42 | pins = "pf_11"; |
| 43 | function = "uart0"; |
| 44 | input-schmitt-disable; |
| 45 | bias-disable; |
| 46 | input-enable; |
| 47 | }; |
| 48 | |
| 49 | uart0_tx_cfg { |
| 50 | pins = "pf_10"; |
| 51 | function = "uart0"; |
| 52 | bias-pull-down; |
| 53 | }; |
| 54 | }; |
| 55 | }; |
| 56 | |
Ariel D'Alessandro | 7dfc635 | 2015-05-12 00:00:52 +0200 | [diff] [blame] | 57 | &uart0 { |
| 58 | status = "okay"; |
Ariel D'Alessandro | 5e64720 | 2015-07-31 00:24:25 +0200 | [diff] [blame^] | 59 | pinctrl-names = "default"; |
| 60 | pinctrl-0 = <&uart0_pins>; |
Ariel D'Alessandro | 7dfc635 | 2015-05-12 00:00:52 +0200 | [diff] [blame] | 61 | }; |