Tom Rini | 4549e78 | 2018-05-06 18:27:01 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
Simon Glass | 17aa548 | 2015-08-30 16:55:41 -0600 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2014, 2015 FUKAUMI Naoki <naobsd@gmail.com> |
Simon Glass | 17aa548 | 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 | 17aa548 | 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 | 9ca7e67 | 2016-07-04 11:58:25 -0600 | [diff] [blame] | 31 | /* Add a dummy value to cause of-platdata think this is bytes */ |
Simon Glass | 17aa548 | 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 { |
| 40 | u-boot,dm-pre-reloc; |
| 41 | act8846 { |
| 42 | pmic_vsel: pmic-vsel { |
| 43 | rockchip,pins = <7 14 RK_FUNC_GPIO &pcfg_output_low>; |
| 44 | }; |
| 45 | }; |
| 46 | |
| 47 | ir { |
| 48 | ir_int: ir-int { |
| 49 | rockchip,pins = <7 0 RK_FUNC_GPIO &pcfg_pull_up>; |
| 50 | }; |
| 51 | }; |
Eddie Cai | 07352c9 | 2017-03-27 15:17:27 +0800 | [diff] [blame] | 52 | usb_host { |
| 53 | host_vbus_drv: host-vbus-drv { |
| 54 | rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>; |
| 55 | }; |
| 56 | }; |
Simon Glass | 17aa548 | 2015-08-30 16:55:41 -0600 | [diff] [blame] | 57 | }; |
| 58 | |
| 59 | &pwm1 { |
| 60 | status = "okay"; |
| 61 | }; |
| 62 | |
| 63 | &uart2 { |
| 64 | u-boot,dm-pre-reloc; |
| 65 | reg-shift = <2>; |
| 66 | }; |
| 67 | |
Eddie Cai | 07352c9 | 2017-03-27 15:17:27 +0800 | [diff] [blame] | 68 | &usb_host1 { |
| 69 | vbus-supply = <&vcc_host_5v>; |
| 70 | status = "okay"; |
| 71 | }; |
| 72 | |
Simon Glass | 17aa548 | 2015-08-30 16:55:41 -0600 | [diff] [blame] | 73 | &sdmmc { |
| 74 | u-boot,dm-pre-reloc; |
| 75 | }; |
| 76 | |
| 77 | &gpio3 { |
| 78 | u-boot,dm-pre-reloc; |
| 79 | }; |
| 80 | |
| 81 | &gpio8 { |
| 82 | u-boot,dm-pre-reloc; |
| 83 | }; |