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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/nxp/mxs/imx28-cfa10055.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  * Copyright 2013 Crystalfontz America, Inc.
  4  *                                Free Electrons
  5  */
  6 
  7 /*
  8  * The CFA-10055 is an expansion board for the CFA-10036 module and
  9  * CFA-10037, thus we need to include the CFA-10037 DTS.
 10  */
 11 #include "imx28-cfa10037.dts"
 12 
 13 / {
 14         model = "Crystalfontz CFA-10055 Board";
 15         compatible = "crystalfontz,cfa10055", "crystalfontz,cfa10037", "crystalfontz,cfa10036", "fsl,imx28";
 16 
 17         spi-2 {
 18                 compatible = "spi-gpio";
 19                 pinctrl-names = "default";
 20                 pinctrl-0 = <&spi2_pins_cfa10055>;
 21                 status = "okay";
 22                 sck-gpios = <&gpio2 16 0>;
 23                 mosi-gpios = <&gpio2 17 0>;
 24                 miso-gpios = <&gpio2 18 0>;
 25                 cs-gpios = <&gpio3 5 0>;
 26                 num-chipselects = <1>;
 27                 #address-cells = <1>;
 28                 #size-cells = <0>;
 29 
 30                 hx8357: hx8357@0 {
 31                         compatible = "himax,hx8357b", "himax,hx8357";
 32                         reg = <0>;
 33                         spi-max-frequency = <100000>;
 34                         spi-cpol;
 35                         spi-cpha;
 36                         gpios-reset = <&gpio3 30 0>;
 37                 };
 38         };
 39 
 40         backlight {
 41                 compatible = "pwm-backlight";
 42                 pwms = <&pwm 3 5000000 0>;
 43                 brightness-levels = <0 4 8 16 32 64 128 255>;
 44                 default-brightness-level = <6>;
 45         };
 46 };
 47 
 48 &lcdif {
 49         pinctrl-names = "default";
 50         pinctrl-0 = <&lcdif_18bit_pins_cfa10055
 51                      &lcdif_pins_cfa10055
 52                      &lcdif_pins_cfa10055_pullup>;
 53         display = <&display0>;
 54         status = "okay";
 55 
 56         display0: display0 {
 57                 bits-per-pixel = <32>;
 58                 bus-width = <18>;
 59 
 60                 display-timings {
 61                         native-mode = <&timing0>;
 62                         timing0: timing0 {
 63                                 clock-frequency = <9216000>;
 64                                 hactive = <320>;
 65                                 vactive = <480>;
 66                                 hback-porch = <2>;
 67                                 hfront-porch = <2>;
 68                                 vback-porch = <2>;
 69                                 vfront-porch = <2>;
 70                                 hsync-len = <15>;
 71                                 vsync-len = <15>;
 72                                 hsync-active = <0>;
 73                                 vsync-active = <0>;
 74                                 de-active = <1>;
 75                                 pixelclk-active = <1>;
 76                         };
 77                 };
 78         };
 79 };
 80 
 81 &lradc {
 82         fsl,lradc-touchscreen-wires = <4>;
 83         status = "okay";
 84 };
 85 
 86 &pinctrl {
 87         spi2_pins_cfa10055: spi2-cfa10055@0 {
 88                 reg = <0>;
 89                 fsl,pinmux-ids = <
 90                         MX28_PAD_SSP2_SCK__GPIO_2_16
 91                         MX28_PAD_SSP2_MOSI__GPIO_2_17
 92                         MX28_PAD_SSP2_MISO__GPIO_2_18
 93                         MX28_PAD_AUART1_TX__GPIO_3_5
 94                 >;
 95                 fsl,drive-strength = <MXS_DRIVE_8mA>;
 96                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
 97                 fsl,pull-up = <MXS_PULL_ENABLE>;
 98         };
 99 
100         lcdif_18bit_pins_cfa10055: lcdif-18bit@0 {
101                 reg = <0>;
102                 fsl,pinmux-ids = <
103                         MX28_PAD_LCD_D00__LCD_D0
104                         MX28_PAD_LCD_D01__LCD_D1
105                         MX28_PAD_LCD_D02__LCD_D2
106                         MX28_PAD_LCD_D03__LCD_D3
107                         MX28_PAD_LCD_D04__LCD_D4
108                         MX28_PAD_LCD_D05__LCD_D5
109                         MX28_PAD_LCD_D06__LCD_D6
110                         MX28_PAD_LCD_D07__LCD_D7
111                         MX28_PAD_LCD_D08__LCD_D8
112                         MX28_PAD_LCD_D09__LCD_D9
113                         MX28_PAD_LCD_D10__LCD_D10
114                         MX28_PAD_LCD_D11__LCD_D11
115                         MX28_PAD_LCD_D12__LCD_D12
116                         MX28_PAD_LCD_D13__LCD_D13
117                         MX28_PAD_LCD_D14__LCD_D14
118                         MX28_PAD_LCD_D15__LCD_D15
119                         MX28_PAD_LCD_D16__LCD_D16
120                         MX28_PAD_LCD_D17__LCD_D17
121                 >;
122                 fsl,drive-strength = <MXS_DRIVE_4mA>;
123                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
124                 fsl,pull-up = <MXS_PULL_DISABLE>;
125         };
126 
127         lcdif_pins_cfa10055: lcdif-evk@0 {
128                 reg = <0>;
129                 fsl,pinmux-ids = <
130                         MX28_PAD_LCD_RD_E__LCD_VSYNC
131                         MX28_PAD_LCD_WR_RWN__LCD_HSYNC
132                         MX28_PAD_LCD_RS__LCD_DOTCLK
133                         MX28_PAD_LCD_CS__LCD_ENABLE
134                 >;
135                 fsl,drive-strength = <MXS_DRIVE_4mA>;
136                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
137                 fsl,pull-up = <MXS_PULL_DISABLE>;
138         };
139 
140         lcdif_pins_cfa10055_pullup: lcdif-10055-pullup@0 {
141                 reg = <0>;
142                 fsl,pinmux-ids = <
143                         MX28_PAD_LCD_RESET__GPIO_3_30
144                 >;
145                 fsl,drive-strength = <MXS_DRIVE_4mA>;
146                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
147                 fsl,pull-up = <MXS_PULL_ENABLE>;
148         };
149 };
150 
151 &pwm {
152         pinctrl-names = "default";
153         pinctrl-0 = <&pwm3_pins_b>;
154         status = "okay";
155 };

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