Masahiro Yamada | 61e6cc0 | 2017-01-21 18:05:30 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for UniPhier PXs3 Reference Board |
| 3 | * |
| 4 | * Copyright (C) 2017 Socionext Inc. |
| 5 | * Author: Masahiro Yamada <yamada.masahiro@socionext.com> |
| 6 | * |
Masahiro Yamada | 31c86aa | 2017-08-29 12:20:53 +0900 | [diff] [blame] | 7 | * SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
Masahiro Yamada | 61e6cc0 | 2017-01-21 18:05:30 +0900 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | /dts-v1/; |
Masahiro Yamada | 31c86aa | 2017-08-29 12:20:53 +0900 | [diff] [blame] | 11 | #include "uniphier-pxs3.dtsi" |
| 12 | #include "uniphier-support-card.dtsi" |
Masahiro Yamada | 61e6cc0 | 2017-01-21 18:05:30 +0900 | [diff] [blame] | 13 | |
| 14 | / { |
| 15 | model = "UniPhier PXs3 Reference Board"; |
| 16 | compatible = "socionext,uniphier-pxs3-ref", "socionext,uniphier-pxs3"; |
| 17 | |
Masahiro Yamada | 7ad79c1 | 2017-03-13 00:16:40 +0900 | [diff] [blame] | 18 | chosen { |
| 19 | stdout-path = "serial0:115200n8"; |
| 20 | }; |
| 21 | |
Masahiro Yamada | 61e6cc0 | 2017-01-21 18:05:30 +0900 | [diff] [blame] | 22 | aliases { |
| 23 | serial0 = &serial0; |
| 24 | serial1 = &serial1; |
| 25 | serial2 = &serial2; |
| 26 | serial3 = &serial3; |
| 27 | i2c0 = &i2c0; |
| 28 | i2c1 = &i2c1; |
| 29 | i2c2 = &i2c2; |
| 30 | i2c3 = &i2c3; |
| 31 | i2c6 = &i2c6; |
| 32 | }; |
| 33 | |
Masahiro Yamada | 7ad79c1 | 2017-03-13 00:16:40 +0900 | [diff] [blame] | 34 | memory@80000000 { |
Masahiro Yamada | 61e6cc0 | 2017-01-21 18:05:30 +0900 | [diff] [blame] | 35 | device_type = "memory"; |
| 36 | reg = <0 0x80000000 0 0xa0000000>; |
| 37 | }; |
Masahiro Yamada | 61e6cc0 | 2017-01-21 18:05:30 +0900 | [diff] [blame] | 38 | }; |
| 39 | |
| 40 | ðsc { |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 41 | interrupts = <4 8>; |
Masahiro Yamada | 61e6cc0 | 2017-01-21 18:05:30 +0900 | [diff] [blame] | 42 | }; |
| 43 | |
| 44 | &serial0 { |
| 45 | status = "okay"; |
| 46 | }; |
| 47 | |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 48 | &gpio { |
| 49 | xirq4 { |
| 50 | gpio-hog; |
| 51 | gpios = <UNIPHIER_GPIO_IRQ(4) 0>; |
| 52 | input; |
| 53 | }; |
| 54 | }; |
| 55 | |
Masahiro Yamada | 61e6cc0 | 2017-01-21 18:05:30 +0900 | [diff] [blame] | 56 | &i2c0 { |
| 57 | status = "okay"; |
| 58 | }; |
Masahiro Yamada | 31c86aa | 2017-08-29 12:20:53 +0900 | [diff] [blame] | 59 | |
| 60 | &i2c1 { |
| 61 | status = "okay"; |
| 62 | }; |
| 63 | |
| 64 | &i2c2 { |
| 65 | status = "okay"; |
| 66 | }; |
| 67 | |
| 68 | &i2c3 { |
| 69 | status = "okay"; |
| 70 | }; |
| 71 | |
| 72 | &usb0 { |
| 73 | status = "okay"; |
| 74 | }; |
| 75 | |
| 76 | &usb1 { |
| 77 | status = "okay"; |
| 78 | }; |
Masahiro Yamada | 2728748 | 2017-10-17 21:19:43 +0900 | [diff] [blame] | 79 | |
| 80 | &nand { |
| 81 | status = "okay"; |
| 82 | }; |