The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/src/arm64/allwinner/sun50i-a64-pinephone-1.1.dts

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
    2 // Copyright (C) 2020 Ondrej Jirman <megous@megous.com>
    3 
    4 /dts-v1/;
    5 
    6 #include "sun50i-a64-pinephone.dtsi"
    7 
    8 / {
    9         model = "Pine64 PinePhone Braveheart (1.1)";
   10         compatible = "pine64,pinephone-1.1", "pine64,pinephone", "allwinner,sun50i-a64";
   11 };
   12 
   13 &backlight {
   14         power-supply = <&reg_ldo_io0>;
   15         /*
   16          * PWM backlight circuit on this PinePhone revision was changed since
   17          * 1.0, and the lowest PWM duty cycle that doesn't lead to backlight
   18          * being off is around 20%. Duty cycle for the lowest brightness level
   19          * also varries quite a bit between individual boards, so the lowest
   20          * value here was chosen as a safe default.
   21          */
   22         brightness-levels = <
   23                 774  793  814  842
   24                 882  935  1003 1088
   25                 1192 1316 1462 1633
   26                 1830 2054 2309 2596
   27                 2916 3271 3664 4096>;
   28         num-interpolated-steps = <50>;
   29         default-brightness-level = <400>;
   30 };
   31 
   32 &codec_analog {
   33         allwinner,internal-bias-resistor;
   34 };
   35 
   36 &sgm3140 {
   37         enable-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */
   38         flash-gpios = <&pio 2 3 GPIO_ACTIVE_HIGH>; /* PC3 */
   39 };

Cache object: 82a1fbb36a6986a9719ea03382c174d2


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.