| .. | .. |
|---|
| 1 | | -/* |
|---|
| 2 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 3 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 4 | | - * published by the Free Software Foundation. |
|---|
| 5 | | - */ |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 6 | 2 | |
|---|
| 7 | 3 | / { |
|---|
| 8 | 4 | gpio_keys { |
|---|
| .. | .. |
|---|
| 63 | 59 | }; |
|---|
| 64 | 60 | }; |
|---|
| 65 | 61 | |
|---|
| 66 | | - pwm10: dmtimer-pwm { |
|---|
| 62 | + pwm10: pwm-10 { |
|---|
| 67 | 63 | compatible = "ti,omap-dmtimer-pwm"; |
|---|
| 68 | 64 | pinctrl-names = "default"; |
|---|
| 69 | 65 | pinctrl-0 = <&pwm_pins>; |
|---|
| 70 | 66 | ti,timers = <&timer10>; |
|---|
| 71 | 67 | #pwm-cells = <3>; |
|---|
| 68 | + ti,clock-source = <0x01>; |
|---|
| 72 | 69 | }; |
|---|
| 73 | 70 | |
|---|
| 74 | 71 | }; |
|---|
| .. | .. |
|---|
| 107 | 104 | }; |
|---|
| 108 | 105 | }; |
|---|
| 109 | 106 | |
|---|
| 107 | +&hdqw1w { |
|---|
| 108 | + pinctrl-names = "default"; |
|---|
| 109 | + pinctrl-0 = <&hdq_pins>; |
|---|
| 110 | +}; |
|---|
| 111 | + |
|---|
| 112 | + |
|---|
| 110 | 113 | &vpll2 { |
|---|
| 111 | 114 | regulator-always-on; |
|---|
| 112 | 115 | }; |
|---|
| 113 | 116 | |
|---|
| 114 | 117 | &dss { |
|---|
| 115 | | - status = "ok"; |
|---|
| 118 | + status = "okay"; |
|---|
| 116 | 119 | vdds_dsi-supply = <&vpll2>; |
|---|
| 117 | | - vdda_video-supply = <&video_reg>; |
|---|
| 120 | + vdda_video-supply = <&vpll2>; |
|---|
| 118 | 121 | pinctrl-names = "default"; |
|---|
| 119 | 122 | pinctrl-0 = <&dss_dpi_pins1>; |
|---|
| 120 | 123 | port { |
|---|
| .. | .. |
|---|
| 130 | 133 | display0 = &lcd0; |
|---|
| 131 | 134 | }; |
|---|
| 132 | 135 | |
|---|
| 133 | | - video_reg: video_reg { |
|---|
| 136 | + lcd0: display { |
|---|
| 137 | + /* This isn't the exact LCD, but the timings meet spec */ |
|---|
| 138 | + compatible = "newhaven,nhd-4.3-480272ef-atxl"; |
|---|
| 139 | + label = "15"; |
|---|
| 134 | 140 | pinctrl-names = "default"; |
|---|
| 135 | 141 | pinctrl-0 = <&panel_pwr_pins>; |
|---|
| 136 | | - compatible = "regulator-fixed"; |
|---|
| 137 | | - regulator-name = "fixed-supply"; |
|---|
| 138 | | - regulator-min-microvolt = <3300000>; |
|---|
| 139 | | - regulator-max-microvolt = <3300000>; |
|---|
| 140 | | - gpio = <&gpio5 27 GPIO_ACTIVE_HIGH>; /* gpio155, lcd INI */ |
|---|
| 141 | | - }; |
|---|
| 142 | | - |
|---|
| 143 | | - lcd0: display { |
|---|
| 144 | | - compatible = "panel-dpi"; |
|---|
| 145 | | - label = "15"; |
|---|
| 146 | | - status = "okay"; |
|---|
| 147 | | - /* default-on; */ |
|---|
| 148 | | - pinctrl-names = "default"; |
|---|
| 149 | | - |
|---|
| 142 | + backlight = <&bl>; |
|---|
| 143 | + enable-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>; |
|---|
| 150 | 144 | port { |
|---|
| 151 | 145 | lcd_in: endpoint { |
|---|
| 152 | 146 | remote-endpoint = <&dpi_out>; |
|---|
| 153 | 147 | }; |
|---|
| 154 | | - }; |
|---|
| 155 | | - |
|---|
| 156 | | - panel-timing { |
|---|
| 157 | | - clock-frequency = <9000000>; |
|---|
| 158 | | - hactive = <480>; |
|---|
| 159 | | - vactive = <272>; |
|---|
| 160 | | - hfront-porch = <3>; |
|---|
| 161 | | - hback-porch = <2>; |
|---|
| 162 | | - hsync-len = <42>; |
|---|
| 163 | | - vback-porch = <3>; |
|---|
| 164 | | - vfront-porch = <4>; |
|---|
| 165 | | - vsync-len = <11>; |
|---|
| 166 | | - hsync-active = <0>; |
|---|
| 167 | | - vsync-active = <0>; |
|---|
| 168 | | - de-active = <1>; |
|---|
| 169 | | - pixelclk-active = <1>; |
|---|
| 170 | 148 | }; |
|---|
| 171 | 149 | }; |
|---|
| 172 | 150 | |
|---|
| .. | .. |
|---|
| 199 | 177 | >; |
|---|
| 200 | 178 | }; |
|---|
| 201 | 179 | |
|---|
| 180 | + hdq_pins: hdq_pins { |
|---|
| 181 | + pinctrl-single,pins = < |
|---|
| 182 | + OMAP3_CORE1_IOPAD(0x21c6, PIN_INPUT_PULLUP | MUX_MODE0) /* hdq_sio */ |
|---|
| 183 | + >; |
|---|
| 184 | + }; |
|---|
| 185 | + |
|---|
| 202 | 186 | pwm_pins: pinmux_pwm_pins { |
|---|
| 203 | 187 | pinctrl-single,pins = < |
|---|
| 204 | 188 | OMAP3_CORE1_IOPAD(0x20B8, PIN_OUTPUT | PIN_OFF_OUTPUT_LOW | MUX_MODE3) /* gpmc_ncs5.gpt_10_pwm_evt */ |
|---|