Tom Rini | 8b0c8a1 | 2018-05-06 18:27:01 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
Simon Glass | ec3be54 | 2015-08-30 16:55:41 -0600 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2014, 2015 FUKAUMI Naoki <naobsd@gmail.com> |
Simon Glass | ec3be54 | 2015-08-30 16:55:41 -0600 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | #include "rk3288-firefly.dtsi" |
| 8 | |
| 9 | / { |
| 10 | model = "Firefly-RK3288"; |
| 11 | compatible = "firefly,firefly-rk3288", "rockchip,rk3288"; |
| 12 | |
| 13 | chosen { |
| 14 | stdout-path = &uart2; |
| 15 | }; |
| 16 | |
| 17 | config { |
| 18 | u-boot,dm-pre-reloc; |
| 19 | u-boot,boot-led = "firefly:green:power"; |
| 20 | }; |
| 21 | }; |
| 22 | |
| 23 | &dmc { |
Simon Glass | ec3be54 | 2015-08-30 16:55:41 -0600 | [diff] [blame] | 24 | rockchip,pctl-timing = <0x29a 0xc8 0x1f8 0x42 0x4e 0x4 0xea 0xa |
| 25 | 0x5 0x0 0xa 0x7 0x19 0x24 0xa 0x7 |
| 26 | 0x5 0xa 0x5 0x200 0x5 0x10 0x40 0x0 |
| 27 | 0x1 0x7 0x7 0x4 0xc 0x43 0x100 0x0 |
| 28 | 0x5 0x0>; |
| 29 | rockchip,phy-timing = <0x48f9aab4 0xea0910 0x1002c200 |
| 30 | 0xa60 0x40 0x10 0x0>; |
Simon Glass | 19d6691 | 2016-07-04 11:58:25 -0600 | [diff] [blame] | 31 | /* Add a dummy value to cause of-platdata think this is bytes */ |
Simon Glass | ec3be54 | 2015-08-30 16:55:41 -0600 | [diff] [blame] | 32 | rockchip,sdram-params = <0x30B25564 0x627 3 666000000 3 9 1>; |
| 33 | }; |
| 34 | |
| 35 | &ir { |
| 36 | gpios = <&gpio7 0 GPIO_ACTIVE_LOW>; |
| 37 | }; |
| 38 | |
| 39 | &pinctrl { |
Simon Glass | ec3be54 | 2015-08-30 16:55:41 -0600 | [diff] [blame] | 40 | act8846 { |
| 41 | pmic_vsel: pmic-vsel { |
| 42 | rockchip,pins = <7 14 RK_FUNC_GPIO &pcfg_output_low>; |
| 43 | }; |
| 44 | }; |
| 45 | |
| 46 | ir { |
| 47 | ir_int: ir-int { |
| 48 | rockchip,pins = <7 0 RK_FUNC_GPIO &pcfg_pull_up>; |
| 49 | }; |
| 50 | }; |
Eddie Cai | 9fcfe3e | 2017-03-27 15:17:27 +0800 | [diff] [blame] | 51 | usb_host { |
| 52 | host_vbus_drv: host-vbus-drv { |
| 53 | rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>; |
| 54 | }; |
| 55 | }; |
Simon Glass | ec3be54 | 2015-08-30 16:55:41 -0600 | [diff] [blame] | 56 | }; |
| 57 | |
| 58 | &pwm1 { |
| 59 | status = "okay"; |
| 60 | }; |