diff options
author | Samuel Holland <samuel@sholland.org> | 2020-10-24 10:21:55 -0500 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2020-11-17 00:42:20 +0000 |
commit | e210ec0181ee5255ad3b2485a1b7bb7a9e50d55d (patch) | |
tree | f120e9b2b4763dcf1daa445695ceefc7d776def7 /arch/arm/dts/sun50i-a64-pinephone-1.1.dts | |
parent | 20f3ee31c396aac6b227d6203c5875ed140f9423 (diff) | |
download | u-boot-e210ec0181ee5255ad3b2485a1b7bb7a9e50d55d.tar.gz |
sunxi: DT: A64: update device tree files
Import updated device trees from Linux tag v5.9. This picks up new
hardware (PinePhone, PineTab); and it drops the U-Boot specific DTSI
files for the Pinebook and the Teres-I, since the ANX6345 bridge is
now supported upstream.
A couple of headers needed updates for recently-added hardware support.
Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'arch/arm/dts/sun50i-a64-pinephone-1.1.dts')
-rw-r--r-- | arch/arm/dts/sun50i-a64-pinephone-1.1.dts | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/dts/sun50i-a64-pinephone-1.1.dts b/arch/arm/dts/sun50i-a64-pinephone-1.1.dts new file mode 100644 index 0000000000..3e99a87e9c --- /dev/null +++ b/arch/arm/dts/sun50i-a64-pinephone-1.1.dts @@ -0,0 +1,30 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (C) 2020 Ondrej Jirman <megous@megous.com> + +/dts-v1/; + +#include "sun50i-a64-pinephone.dtsi" + +/ { + model = "Pine64 PinePhone Braveheart (1.1)"; + compatible = "pine64,pinephone-1.1", "allwinner,sun50i-a64"; +}; + +&backlight { + power-supply = <®_ldo_io0>; + /* + * PWM backlight circuit on this PinePhone revision was changed since + * 1.0, and the lowest PWM duty cycle that doesn't lead to backlight + * being off is around 20%. Duty cycle for the lowest brightness level + * also varries quite a bit between individual boards, so the lowest + * value here was chosen as a safe default. + */ + brightness-levels = < + 774 793 814 842 + 882 935 1003 1088 + 1192 1316 1462 1633 + 1830 2054 2309 2596 + 2916 3271 3664 4096>; + num-interpolated-steps = <50>; + default-brightness-level = <400>; +}; |