Jagan Teki | 46dbd40 | 2019-05-07 23:51:52 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com> |
| 4 | */ |
| 5 | |
| 6 | #include "rk3399-u-boot.dtsi" |
Simon Glass | 8251e03 | 2020-07-19 13:55:58 -0600 | [diff] [blame] | 7 | |
Simon Glass | cc3f435 | 2021-12-24 16:43:44 +0300 | [diff] [blame] | 8 | / { |
| 9 | chosen { |
| 10 | u-boot,spl-boot-order = &spi_flash; |
| 11 | }; |
| 12 | |
| 13 | config { |
| 14 | u-boot,spl-payload-offset = <0x40000>; |
| 15 | }; |
| 16 | }; |
| 17 | |
| 18 | &binman { |
| 19 | rom { |
| 20 | size = <0x800000>; |
| 21 | }; |
| 22 | }; |
| 23 | |
| 24 | &cros_ec { |
| 25 | ec-interrupt = <&gpio0 RK_PA1 GPIO_ACTIVE_LOW>; |
| 26 | }; |
| 27 | |
| 28 | &edp { |
| 29 | rockchip,panel = <&edp_panel>; |
| 30 | }; |
| 31 | |
| 32 | &pp1800_audio { |
| 33 | regulator-min-microvolt = <1800000>; |
| 34 | regulator-max-microvolt = <1800000>; |
| 35 | }; |
| 36 | |
| 37 | &ppvar_bigcpu_pwm { |
| 38 | regulator-init-microvolt = <900000>; |
| 39 | }; |
| 40 | |
| 41 | &ppvar_centerlogic_pwm { |
| 42 | regulator-init-microvolt = <900000>; |
| 43 | }; |
| 44 | |
| 45 | &ppvar_gpu_pwm { |
| 46 | regulator-init-microvolt = <900000>; |
| 47 | }; |
| 48 | |
| 49 | &ppvar_litcpu_pwm { |
| 50 | regulator-init-microvolt = <900000>; |
| 51 | }; |
| 52 | |
| 53 | &ppvar_sd_card_io { |
| 54 | enable-gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>; |
| 55 | }; |
| 56 | |
| 57 | &spi5 { |
| 58 | spi-activate-delay = <100>; |
| 59 | spi-max-frequency = <3000000>; |
| 60 | spi-deactivate-delay = <200>; |
| 61 | }; |
| 62 | |
Simon Glass | 8251e03 | 2020-07-19 13:55:58 -0600 | [diff] [blame] | 63 | &spi_flash { |
| 64 | u-boot,dm-pre-reloc; |
| 65 | }; |