1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 3 * Copyright 2013 Free Electrons 4 */ 5 6 /* 7 * The CFA-10055 is an expansion board for the 8 * CFA-10037, thus we need to include the CFA- 9 */ 10 #include "imx28-cfa10037.dts" 11 12 / { 13 model = "Crystalfontz CFA-10056 Board" 14 compatible = "crystalfontz,cfa10056", 15 16 spi-2 { 17 compatible = "spi-gpio"; 18 pinctrl-names = "default"; 19 pinctrl-0 = <&spi2_pins_cfa100 20 status = "okay"; 21 sck-gpios = <&gpio2 16 0>; 22 mosi-gpios = <&gpio2 17 0>; 23 miso-gpios = <&gpio2 18 0>; 24 cs-gpios = <&gpio3 5 0>; 25 num-chipselects = <1>; 26 #address-cells = <1>; 27 #size-cells = <0>; 28 29 hx8369: hx8369@0 { 30 compatible = "himax,hx 31 reg = <0>; 32 spi-max-frequency = <1 33 spi-cpol; 34 spi-cpha; 35 gpios-reset = <&gpio3 36 }; 37 }; 38 }; 39 40 &pinctrl { 41 spi2_pins_cfa10056: spi2-cfa10056@0 { 42 reg = <0>; 43 fsl,pinmux-ids = < 44 MX28_PAD_SSP2_SCK__GPI 45 MX28_PAD_SSP2_MOSI__GP 46 MX28_PAD_SSP2_MISO__GP 47 MX28_PAD_AUART1_TX__GP 48 >; 49 fsl,drive-strength = <MXS_DRIV 50 fsl,voltage = <MXS_VOLTAGE_HIG 51 fsl,pull-up = <MXS_PULL_ENABLE 52 }; 53 54 lcdif_pins_cfa10056: lcdif-10056@0 { 55 reg = <0>; 56 fsl,pinmux-ids = < 57 MX28_PAD_LCD_RD_E__LCD 58 MX28_PAD_LCD_WR_RWN__L 59 MX28_PAD_LCD_RS__LCD_D 60 MX28_PAD_LCD_CS__LCD_E 61 >; 62 fsl,drive-strength = <MXS_DRIV 63 fsl,voltage = <MXS_VOLTAGE_HIG 64 fsl,pull-up = <MXS_PULL_DISABL 65 }; 66 67 lcdif_pins_cfa10056_pullup: lcdif-1005 68 reg = <0>; 69 fsl,pinmux-ids = < 70 MX28_PAD_LCD_RESET__GP 71 >; 72 fsl,drive-strength = <MXS_DRIV 73 fsl,voltage = <MXS_VOLTAGE_HIG 74 fsl,pull-up = <MXS_PULL_ENABLE 75 }; 76 }; 77 78 &lcdif { 79 pinctrl-names = "default"; 80 pinctrl-0 = <&lcdif_24bit_pins_a 81 &lcdif_pins_cfa10056 82 &lcdif_pins_cfa10056_p 83 display = <&display0>; 84 status = "okay"; 85 86 display0: display0 { 87 bits-per-pixel = <32>; 88 bus-width = <24>; 89 90 display-timings { 91 native-mode = <&timing 92 timing0: timing0 { 93 clock-frequenc 94 hactive = <480 95 vactive = <800 96 hback-porch = 97 hfront-porch = 98 vback-porch = 99 vfront-porch = 100 hsync-len = <5 101 vsync-len = <5 102 hsync-active = 103 vsync-active = 104 de-active = <1 105 pixelclk-activ 106 }; 107 }; 108 }; 109 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.