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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/cirrus/ep7211-edb7211.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ 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.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0-or-later
  2 
  3 #include "ep7211.dtsi"
  4 #include <dt-bindings/gpio/gpio.h>
  5 
  6 / {
  7         model = "Cirrus Logic EP7211 Development Board";
  8         compatible = "cirrus,edb7211", "cirrus,ep7211", "cirrus,ep7209";
  9 
 10         memory@c0000000 {
 11                 device_type = "memory";
 12                 reg = <0xc0000000 0x02000000>;
 13         };
 14 
 15         backlight: backlight {
 16                 compatible = "pwm-backlight";
 17                 pwms = <&pwm 0>;
 18                 brightness-levels = <
 19                         0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7
 20                         0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf
 21                 >;
 22                 default-brightness-level = <0x0>;
 23                 power-supply = <&blen>;
 24         };
 25 
 26         display: display {
 27                 model = "320x240x4";
 28                 bits-per-pixel = <4>;
 29                 ac-prescale = <17>;
 30 
 31                 display-timings {
 32                         native-mode = <&timing0>;
 33                         timing0: timing-320x240 {
 34                                 hactive = <320>;
 35                                 hback-porch = <0>;
 36                                 hfront-porch = <0>;
 37                                 hsync-len = <0>;
 38                                 vactive = <240>;
 39                                 vback-porch = <0>;
 40                                 vfront-porch = <0>;
 41                                 vsync-len = <0>;
 42                                 clock-frequency = <6500000>;
 43                         };
 44                 };
 45         };
 46 
 47         i2c: i2c {
 48                 compatible = "i2c-gpio";
 49                 gpios = <&portd 4 GPIO_ACTIVE_HIGH>,
 50                         <&portd 5 GPIO_ACTIVE_HIGH>;
 51                 i2c-gpio,delay-us = <2>;
 52                 i2c-gpio,scl-output-only;
 53                 #address-cells = <1>;
 54                 #size-cells = <0>;
 55         };
 56 
 57         lcddc: lcddc {
 58                 compatible = "regulator-fixed";
 59                 regulator-name = "BACKLIGHT ENABLE";
 60                 regulator-min-microvolt = <3300000>;
 61                 regulator-max-microvolt = <3300000>;
 62                 gpio = <&portd 1 GPIO_ACTIVE_HIGH>;
 63         };
 64 
 65         blen: blen {
 66                 compatible = "regulator-fixed";
 67                 regulator-name = "BACKLIGHT ENABLE";
 68                 regulator-min-microvolt = <3300000>;
 69                 regulator-max-microvolt = <3300000>;
 70                 gpio = <&portd 3 GPIO_ACTIVE_HIGH>;
 71         };
 72 };
 73 
 74 &bus {
 75         flash: nor@0 {
 76                 compatible = "cfi-flash";
 77                 reg = <0 0x00000000 0x02000000>;
 78                 bank-width = <2>;
 79                 #address-cells = <1>;
 80                 #size-cells = <1>;
 81         };
 82 };
 83 
 84 &fb {
 85         display = <&display>;
 86         lcd-supply = <&lcddc>;
 87         status = "okay";
 88 };
 89 
 90 &portd {
 91         lcden {
 92                 gpio-hog;
 93                 gpios = <2 GPIO_ACTIVE_HIGH>;
 94                 output-high;
 95                 line-name = "LCD ENABLE";
 96         };
 97 };

~ [ 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