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 | * |
Masahiro Yamada | 31a1788 | 2017-06-22 16:46:40 +0900 | [diff] [blame] | 7 | * SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 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 { |
Masahiro Yamada | 31a1788 | 2017-06-22 16:46:40 +0900 | [diff] [blame] | 47 | compatible = "st,24c64", "atmel,24c64", "i2c-eeprom"; |
Masahiro Yamada | 1723586 | 2016-02-12 20:27:00 +0900 | [diff] [blame] | 48 | reg = <0x54>; |
Masahiro Yamada | bf3b721 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 49 | pagesize = <32>; |
Masahiro Yamada | 1723586 | 2016-02-12 20:27:00 +0900 | [diff] [blame] | 50 | u-boot,i2c-offset-len = <2>; |
| 51 | }; |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 52 | }; |
| 53 | |
Masahiro Yamada | 5b1e397 | 2016-02-12 20:27:01 +0900 | [diff] [blame] | 54 | &i2c2 { |
| 55 | status = "okay"; |
| 56 | }; |
| 57 | |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 58 | &emmc { |
| 59 | status = "okay"; |
| 60 | }; |
| 61 | |
Masahiro Yamada | a4e54cc | 2015-11-04 21:56:07 +0900 | [diff] [blame] | 62 | &usb0 { |
| 63 | status = "okay"; |
| 64 | }; |
| 65 | |
| 66 | &usb1 { |
| 67 | status = "okay"; |
| 68 | }; |
| 69 | |
Bin Meng | 7557405 | 2016-02-05 19:30:11 -0800 | [diff] [blame] | 70 | /* for U-Boot only */ |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 71 | &serial2 { |
| 72 | u-boot,dm-pre-reloc; |
| 73 | }; |
| 74 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 75 | &sd_clk { |
Masahiro Yamada | eac5acf | 2016-02-16 17:08:39 +0900 | [diff] [blame] | 76 | u-boot,dm-pre-reloc; |
| 77 | }; |
| 78 | |
| 79 | &emmc { |
| 80 | u-boot,dm-pre-reloc; |
| 81 | }; |
| 82 | |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 83 | &pinctrl_uart2 { |
| 84 | u-boot,dm-pre-reloc; |
| 85 | }; |
Masahiro Yamada | eac5acf | 2016-02-16 17:08:39 +0900 | [diff] [blame] | 86 | |
| 87 | &pinctrl_emmc { |
| 88 | u-boot,dm-pre-reloc; |
| 89 | }; |