~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.2.dts

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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 (1.2)";
 10         compatible = "pine64,pinephone-1.2", "pine64,pinephone", "allwinner,sun50i-a64";
 11 
 12         wifi_pwrseq: wifi-pwrseq {
 13                 compatible = "mmc-pwrseq-simple";
 14                 reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 */
 15         };
 16 };
 17 
 18 &backlight {
 19         power-supply = <&reg_ldo_io0>;
 20         /*
 21          * PWM backlight circuit on this PinePhone revision was changed since 1.0,
 22          * and the lowest PWM duty cycle that doesn't lead to backlight being off
 23          * is around 10%. Duty cycle for the lowest brightness level also varries
 24          * quite a bit between individual boards, so the lowest value here was
 25          * chosen as a safe default.
 26          */
 27         brightness-levels = <
 28                 5000 5248 5506 5858 6345
 29                 6987 7805 8823 10062 11543
 30                 13287 15317 17654 20319 23336
 31                 26724 30505 34702 39335 44427
 32                 50000
 33         >;
 34         num-interpolated-steps = <50>;
 35         default-brightness-level = <500>;
 36 };
 37 
 38 &lis3mdl {
 39         /*
 40          * Board revision 1.2 fixed routing of the interrupt to DRDY pin,
 41          * enable interrupts.
 42          */
 43         interrupt-parent = <&pio>;
 44         interrupts = <1 1 IRQ_TYPE_EDGE_RISING>; /* PB1 */
 45 };
 46 
 47 &mmc1 {
 48         mmc-pwrseq = <&wifi_pwrseq>;
 49 };
 50 
 51 &sgm3140 {
 52         enable-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */
 53         flash-gpios = <&pio 2 3 GPIO_ACTIVE_HIGH>; /* PC3 */
 54 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php