Masahiro Yamada | 7bdd155 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 1 | /* |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 2 | * Device Tree Source for UniPhier LD20 Reference Board |
Masahiro Yamada | 7bdd155 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 3 | * |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 4 | * Copyright (C) 2015-2016 Socionext Inc. |
| 5 | * Author: Masahiro Yamada <yamada.masahiro@socionext.com> |
Masahiro Yamada | 7bdd155 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 6 | * |
Masahiro Yamada | d940300 | 2017-06-22 16:46:40 +0900 | [diff] [blame] | 7 | * SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
Masahiro Yamada | 7bdd155 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | /dts-v1/; |
Masahiro Yamada | 6c9e46e | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 11 | #include "uniphier-ld20.dtsi" |
| 12 | #include "uniphier-ref-daughter.dtsi" |
| 13 | #include "uniphier-support-card.dtsi" |
Masahiro Yamada | 7bdd155 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 14 | |
| 15 | / { |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 16 | model = "UniPhier LD20 Reference Board"; |
| 17 | compatible = "socionext,uniphier-ld20-ref", "socionext,uniphier-ld20"; |
Masahiro Yamada | 7bdd155 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 18 | |
Masahiro Yamada | 7ad79c1 | 2017-03-13 00:16:40 +0900 | [diff] [blame] | 19 | chosen { |
| 20 | stdout-path = "serial0:115200n8"; |
| 21 | }; |
| 22 | |
Masahiro Yamada | 7bdd155 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 23 | aliases { |
| 24 | serial0 = &serial0; |
| 25 | serial1 = &serial1; |
| 26 | serial2 = &serial2; |
| 27 | serial3 = &serial3; |
| 28 | i2c0 = &i2c0; |
| 29 | i2c1 = &i2c1; |
| 30 | i2c2 = &i2c2; |
| 31 | i2c3 = &i2c3; |
| 32 | i2c4 = &i2c4; |
| 33 | i2c5 = &i2c5; |
| 34 | }; |
Masahiro Yamada | 6c64d50 | 2016-04-21 14:43:14 +0900 | [diff] [blame] | 35 | |
Masahiro Yamada | 7ad79c1 | 2017-03-13 00:16:40 +0900 | [diff] [blame] | 36 | memory@80000000 { |
Masahiro Yamada | 6c64d50 | 2016-04-21 14:43:14 +0900 | [diff] [blame] | 37 | device_type = "memory"; |
| 38 | reg = <0 0x80000000 0 0xc0000000>; |
| 39 | }; |
Masahiro Yamada | 7bdd155 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 40 | }; |
| 41 | |
| 42 | ðsc { |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 43 | interrupts = <0 8>; |
Masahiro Yamada | 7bdd155 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 44 | }; |
| 45 | |
| 46 | &serial0 { |
| 47 | status = "okay"; |
| 48 | }; |
| 49 | |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 50 | &gpio { |
| 51 | xirq0 { |
| 52 | gpio-hog; |
| 53 | gpios = <UNIPHIER_GPIO_IRQ(0) 0>; |
| 54 | input; |
| 55 | }; |
| 56 | }; |
| 57 | |
Masahiro Yamada | 7bdd155 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 58 | &i2c0 { |
| 59 | status = "okay"; |
| 60 | }; |