mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 18:28:55 +00:00
647b392bf2
Import updated devicetree files from the Linux v5.12 release. Besides some node and audio port renames this changes the PHY modes to either rgmii-id or rgmii-txid. From the board files the Pinephone sees a lot of updates. This also adds the long missing USB PHY property for controller 0, which allows the U-Boot PHY driver to eventually use port 0 in host mode (pending another U-Boot patch). Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Jernej Skrabec <jernej.skrabec@siol.net>
35 lines
1,000 B
Text
35 lines
1,000 B
Text
// 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", "pine64,pinephone", "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>;
|
|
};
|
|
|
|
&sgm3140 {
|
|
enable-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */
|
|
flash-gpios = <&pio 2 3 GPIO_ACTIVE_HIGH>; /* PC3 */
|
|
};
|