Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 1 | /* |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 2 | * Device Tree Source for UniPhier PXs2 Gentil Board |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 3 | * |
Masahiro Yamada | 39a67ff | 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 | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 6 | * |
| 7 | * SPDX-License-Identifier: GPL-2.0+ |
| 8 | */ |
| 9 | |
| 10 | /dts-v1/; |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 11 | /include/ "uniphier-pxs2.dtsi" |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 12 | |
| 13 | / { |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 14 | model = "UniPhier PXs2 Gentil Board"; |
| 15 | compatible = "socionext,uniphier-pxs2-gentil", |
| 16 | "socionext,uniphier-pxs2"; |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 17 | |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 18 | chosen { |
Masahiro Yamada | 4c34fc4 | 2016-07-06 19:24:09 +0900 | [diff] [blame] | 19 | stdout-path = "serial0:115200n8"; |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 20 | }; |
| 21 | |
| 22 | aliases { |
Masahiro Yamada | 4c34fc4 | 2016-07-06 19:24:09 +0900 | [diff] [blame] | 23 | serial0 = &serial2; |
| 24 | serial1 = &serial0; |
| 25 | serial2 = &serial1; |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 26 | i2c0 = &i2c0; |
Masahiro Yamada | 5b1e397 | 2016-02-12 20:27:01 +0900 | [diff] [blame] | 27 | i2c2 = &i2c2; |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 28 | i2c4 = &i2c4; |
| 29 | i2c5 = &i2c5; |
| 30 | i2c6 = &i2c6; |
| 31 | }; |
Masahiro Yamada | 6cd78f7 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 32 | |
Masahiro Yamada | ce6ca3c | 2017-03-13 00:16:40 +0900 | [diff] [blame^] | 33 | memory@80000000 { |
Masahiro Yamada | 6cd78f7 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 34 | device_type = "memory"; |
| 35 | reg = <0x80000000 0x80000000>; |
| 36 | }; |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 37 | }; |
| 38 | |
| 39 | &serial2 { |
| 40 | status = "okay"; |
| 41 | }; |
| 42 | |
| 43 | &i2c0 { |
| 44 | status = "okay"; |
Masahiro Yamada | 1723586 | 2016-02-12 20:27:00 +0900 | [diff] [blame] | 45 | |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 46 | eeprom@54 { |
| 47 | compatible = "st,24c64", "i2c-eeprom"; |
Masahiro Yamada | 1723586 | 2016-02-12 20:27:00 +0900 | [diff] [blame] | 48 | reg = <0x54>; |
| 49 | u-boot,i2c-offset-len = <2>; |
| 50 | }; |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 51 | }; |
| 52 | |
Masahiro Yamada | 5b1e397 | 2016-02-12 20:27:01 +0900 | [diff] [blame] | 53 | &i2c2 { |
| 54 | status = "okay"; |
| 55 | }; |
| 56 | |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 57 | &emmc { |
| 58 | status = "okay"; |
| 59 | }; |
| 60 | |
Masahiro Yamada | a4e54cc | 2015-11-04 21:56:07 +0900 | [diff] [blame] | 61 | &usb0 { |
| 62 | status = "okay"; |
| 63 | }; |
| 64 | |
| 65 | &usb1 { |
| 66 | status = "okay"; |
| 67 | }; |
| 68 | |
Bin Meng | 7557405 | 2016-02-05 19:30:11 -0800 | [diff] [blame] | 69 | /* for U-Boot only */ |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 70 | &serial2 { |
| 71 | u-boot,dm-pre-reloc; |
| 72 | }; |
| 73 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 74 | &sd_clk { |
Masahiro Yamada | eac5acf | 2016-02-16 17:08:39 +0900 | [diff] [blame] | 75 | u-boot,dm-pre-reloc; |
| 76 | }; |
| 77 | |
| 78 | &emmc { |
| 79 | u-boot,dm-pre-reloc; |
| 80 | }; |
| 81 | |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 82 | &pinctrl_uart2 { |
| 83 | u-boot,dm-pre-reloc; |
| 84 | }; |
Masahiro Yamada | eac5acf | 2016-02-16 17:08:39 +0900 | [diff] [blame] | 85 | |
| 86 | &pinctrl_emmc { |
| 87 | u-boot,dm-pre-reloc; |
| 88 | }; |