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