Lines Matching +full:i2c3 +full:- +full:sda
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/net/qca-ar803x.h>
9 #include <dt-bindings/phy/phy-imx8-pcie.h>
14 compatible = "dmo,imx8mm-data-modul-edm-sbc", "fsl,imx8mm";
22 stdout-path = &uart3;
32 compatible = "pwm-backlight";
33 pinctrl-names = "default";
34 pinctrl-0 = <&pinctrl_panel_backlight>;
35 brightness-levels = <0 1 10 20 30 40 50 60 70 75 80 90 100>;
36 default-brightness-level = <7>;
37 enable-gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>;
43 clk_xtal25: clk-xtal25 {
44 compatible = "fixed-clock";
45 #clock-cells = <0>;
46 clock-frequency = <25000000>;
49 clk_xtal32k: clk-xtal32k {
50 compatible = "fixed-clock";
51 #clock-cells = <0>;
52 clock-frequency = <32768>;
57 power-supply = <®_panel_vcc>;
62 reg_panel_vcc: regulator-panel-vcc {
63 compatible = "regulator-fixed";
64 pinctrl-names = "default";
65 pinctrl-0 = <&pinctrl_panel_vcc_reg>;
66 regulator-name = "PANEL_VCC";
67 regulator-min-microvolt = <5000000>;
68 regulator-max-microvolt = <5000000>;
70 enable-active-high;
75 reg_usdhc2_vcc: regulator-usdhc2-vcc {
76 compatible = "regulator-fixed";
77 pinctrl-names = "default";
78 pinctrl-0 = <&pinctrl_usdhc2_vcc_reg>;
79 regulator-name = "V_3V3_SD";
80 regulator-min-microvolt = <3300000>;
81 regulator-max-microvolt = <3300000>;
83 enable-active-high;
88 pinctrl-names = "default";
89 pinctrl-0 = <&pinctrl_watchdog_gpio>;
90 compatible = "linux,wdt-gpio";
91 always-running;
102 cpu-supply = <&buck2_reg>;
106 cpu-supply = <&buck2_reg>;
110 cpu-supply = <&buck2_reg>;
114 cpu-supply = <&buck2_reg>;
118 operating-points-v2 = <&ddrc_opp_table>;
120 ddrc_opp_table: opp-table {
121 compatible = "operating-points-v2";
123 opp-25000000 {
124 opp-hz = /bits/ 64 <25000000>;
127 opp-100000000 {
128 opp-hz = /bits/ 64 <100000000>;
131 opp-750000000 {
132 opp-hz = /bits/ 64 <750000000>;
138 pinctrl-names = "default";
139 pinctrl-0 = <&pinctrl_ecspi1>;
140 cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
144 compatible = "jedec,spi-nor";
145 m25p,fast-read;
146 spi-max-frequency = <50000000>;
152 pinctrl-names = "default";
153 pinctrl-0 = <&pinctrl_ecspi2>;
154 cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
160 pinctrl-names = "default";
161 pinctrl-0 = <&pinctrl_ecspi3>;
162 cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>;
168 pinctrl-names = "default";
169 pinctrl-0 = <&pinctrl_fec1>;
170 phy-mode = "rgmii-id";
171 phy-handle = <&fec1_phy>;
172 phy-supply = <&buck4_reg>;
173 fsl,magic-packet;
177 #address-cells = <1>;
178 #size-cells = <0>;
181 fec1_phy: ethernet-phy@0 {
182 compatible = "ethernet-phy-ieee802.3-c22";
188 interrupts-extended = <&gpio1 15 IRQ_TYPE_LEVEL_LOW>;
189 reset-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
190 reset-assert-us = <10000>;
191 reset-deassert-us = <10000>;
192 qca,keep-pll-enabled;
193 vddio-supply = <&vddio>;
195 vddio: vddio-regulator {
196 regulator-name = "VDDIO";
197 regulator-min-microvolt = <1800000>;
198 regulator-max-microvolt = <1800000>;
201 vddh: vddh-regulator {
202 regulator-name = "VDDH";
209 gpio-line-names =
211 "", "M2-B_PCIE_RST#", "M2-B_PCIE_WAKE#", "RTC_IRQ#",
212 "WDOG_KICK#", "M2-B_PCIE_CLKREQ#",
220 gpio-line-names =
222 "M2-B_FULL_CARD_PWROFF_1V8#", "EEPROM_WP_1V8#",
225 "M2-B_W_DISABLE1_WWAN_1V8#", "M2-B_W_DISABLE2_GPS_1V8#",
232 gpio-line-names =
237 "", "", "", "M2-B_WAKE_WWAN_1V8#",
238 "M2-B_RESET_1V8#", "", "", "",
243 gpio-line-names =
255 gpio-line-names =
266 /* IMX8MM ERRATA e7805 -- I2C is limited to 384 kHz due to SoC bug */
267 clock-frequency = <100000>;
268 pinctrl-names = "default", "gpio";
269 pinctrl-0 = <&pinctrl_i2c1>;
270 pinctrl-1 = <&pinctrl_i2c1_gpio>;
271 scl-gpios = <&gpio5 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
272 sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
278 #clock-cells = <0>;
280 clock-output-names = "clk-32k-out";
281 pinctrl-names = "default";
282 pinctrl-0 = <&pinctrl_pmic>;
283 interrupt-parent = <&gpio1>;
285 rohm,reset-snvs-powered;
295 regulator-name = "buck1";
296 regulator-min-microvolt = <850000>;
297 regulator-max-microvolt = <850000>;
298 regulator-boot-on;
299 regulator-always-on;
300 regulator-ramp-delay = <1250>;
305 regulator-name = "buck2";
306 regulator-min-microvolt = <850000>;
307 regulator-max-microvolt = <1050000>;
308 regulator-boot-on;
309 regulator-always-on;
310 regulator-ramp-delay = <1250>;
311 rohm,dvs-run-voltage = <1000000>;
312 rohm,dvs-idle-voltage = <950000>;
317 regulator-name = "buck3";
319 regulator-min-microvolt = <900000>;
320 regulator-max-microvolt = <1000000>;
321 regulator-boot-on;
322 regulator-always-on;
327 regulator-name = "buck4";
328 regulator-min-microvolt = <3300000>;
329 regulator-max-microvolt = <3300000>;
330 regulator-boot-on;
331 regulator-always-on;
336 regulator-name = "buck5";
337 regulator-min-microvolt = <1800000>;
338 regulator-max-microvolt = <1800000>;
339 regulator-boot-on;
340 regulator-always-on;
345 regulator-name = "buck6";
346 regulator-min-microvolt = <1100000>;
347 regulator-max-microvolt = <1100000>;
348 regulator-boot-on;
349 regulator-always-on;
354 regulator-name = "ldo1";
355 regulator-min-microvolt = <1800000>;
356 regulator-max-microvolt = <1800000>;
357 regulator-boot-on;
358 regulator-always-on;
363 regulator-name = "ldo2";
364 regulator-min-microvolt = <800000>;
365 regulator-max-microvolt = <800000>;
366 regulator-boot-on;
367 regulator-always-on;
372 regulator-name = "ldo3";
373 regulator-min-microvolt = <1800000>;
374 regulator-max-microvolt = <1800000>;
375 regulator-boot-on;
376 regulator-always-on;
381 regulator-name = "ldo4";
382 regulator-min-microvolt = <900000>;
383 regulator-max-microvolt = <900000>;
384 regulator-boot-on;
385 regulator-always-on;
390 regulator-name = "ldo6";
391 regulator-min-microvolt = <1200000>;
392 regulator-max-microvolt = <1200000>;
393 regulator-boot-on;
394 regulator-always-on;
401 /* IMX8MM ERRATA e7805 -- I2C is limited to 384 kHz due to SoC bug */
402 clock-frequency = <100000>;
403 pinctrl-names = "default", "gpio";
404 pinctrl-0 = <&pinctrl_i2c2>;
405 pinctrl-1 = <&pinctrl_i2c2_gpio>;
406 scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
407 sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
410 usb-hub@2c {
411 pinctrl-names = "default";
412 pinctrl-0 = <&pinctrl_usb_hub>;
415 individual-port-switching;
416 reset-gpios = <&gpio5 2 GPIO_ACTIVE_LOW>;
417 self-powered;
427 pinctrl-names = "default";
428 pinctrl-0 = <&pinctrl_rtc>;
431 interrupts-extended = <&gpio1 7 IRQ_TYPE_LEVEL_LOW>;
438 #clock-cells = <1>;
442 &i2c3 { /* Display connector I2C */
443 /* IMX8MM ERRATA e7805 -- I2C is limited to 384 kHz due to SoC bug */
444 clock-frequency = <320000>;
445 pinctrl-names = "default", "gpio";
446 pinctrl-0 = <&pinctrl_i2c3>;
447 pinctrl-1 = <&pinctrl_i2c3_gpio>;
448 scl-gpios = <&gpio5 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
449 sda-gpios = <&gpio5 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
454 /* IMX8MM ERRATA e7805 -- I2C is limited to 384 kHz due to SoC bug */
455 clock-frequency = <320000>;
456 pinctrl-names = "default", "gpio";
457 pinctrl-0 = <&pinctrl_i2c4>;
458 pinctrl-1 = <&pinctrl_i2c4_gpio>;
459 scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
460 sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
465 pinctrl-names = "default";
466 pinctrl-0 = <&pinctrl_hog_feature>, <&pinctrl_hog_misc>,
470 pinctrl_ecspi1: ecspi1-grp {
479 pinctrl_ecspi2: ecspi2-grp {
488 pinctrl_ecspi3: ecspi3-grp {
497 pinctrl_fec1: fec1-grp {
522 pinctrl_hog_feature: hog-feature-grp {
538 pinctrl_hog_panel: hog-panel-grp {
545 pinctrl_hog_misc: hog-misc-grp {
571 pinctrl_hog_sbc: hog-sbc-grp {
605 pinctrl_i2c1: i2c1-grp {
612 pinctrl_i2c1_gpio: i2c1-gpio-grp {
619 pinctrl_i2c2: i2c2-grp {
626 pinctrl_i2c2_gpio: i2c2-gpio-grp {
633 pinctrl_i2c3: i2c3-grp {
640 pinctrl_i2c3_gpio: i2c3-gpio-grp {
647 pinctrl_i2c4: i2c4-grp {
654 pinctrl_i2c4_gpio: i2c4-gpio-grp {
661 pinctrl_panel_backlight: panel-backlight-grp {
668 pinctrl_panel_expansion: panel-expansion-grp {
677 pinctrl_panel_vcc_reg: panel-vcc-grp {
684 pinctrl_panel_pwm: panel-pwm-grp {
691 pinctrl_pcie0: pcie-grp {
693 /* M2-B_RESET_1V8# */
695 /* M2-B_PCIE_RST# */
697 /* M2-B_FULL_CARD_PWROFF_1V8# */
699 /* M2-B_W_DISABLE1_WWAN_1V8# */
701 /* M2-B_W_DISABLE2_GPS_1V8# */
705 /* M2-B_WAKE_WWAN_1V8# */
707 /* M2-B_PCIE_WAKE# */
709 /* M2-B_PCIE_CLKREQ# */
714 pinctrl_pmic: pmic-grp {
720 pinctrl_rtc: rtc-grp {
727 pinctrl_sai5: sai5-grp {
737 pinctrl_uart1: uart1-grp {
746 pinctrl_uart2: uart2-grp {
755 pinctrl_uart3: uart3-grp {
762 pinctrl_uart4: uart4-grp {
769 pinctrl_usb_hub: usb-hub-grp {
776 pinctrl_usb_otg1: usb-otg1-grp {
784 pinctrl_usdhc2_vcc_reg: usdhc2-vcc-reg-grp {
790 pinctrl_usdhc2: usdhc2-grp {
804 pinctrl_usdhc2_100mhz: usdhc2-100mhz-grp {
818 pinctrl_usdhc2_200mhz: usdhc2-200mhz-grp {
832 pinctrl_usdhc3: usdhc3-grp {
849 pinctrl_usdhc3_100mhz: usdhc3-100mhz-grp {
866 pinctrl_usdhc3_200mhz: usdhc3-200mhz-grp {
883 pinctrl_watchdog_gpio: watchdog-gpio-grp {
887 /* WDOG_EN -- ungate WDT RESET# signal propagation */
896 fsl,clkreq-unsupported; /* CLKREQ_B is not connected to suitable input */
897 fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
898 fsl,tx-deemph-gen1 = <0x2d>;
899 fsl,tx-deemph-gen2 = <0xf>;
905 pinctrl-names = "default";
906 pinctrl-0 = <&pinctrl_pcie0>;
907 reset-gpio = <&gpio1 5 GPIO_ACTIVE_LOW>;
910 assigned-clocks = <&clk IMX8MM_CLK_PCIE1_AUX>,
912 assigned-clock-rates = <10000000>, <250000000>;
913 assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_50M>,
919 pinctrl-names = "default";
920 pinctrl-0 = <&pinctrl_panel_pwm>;
926 pinctrl-names = "default";
927 pinctrl-0 = <&pinctrl_sai5>;
928 fsl,sai-mclk-direction-output;
930 assigned-clocks = <&clk IMX8MM_CLK_SAI5>;
931 assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL2_OUT>;
932 assigned-clock-rates = <22579200>;
942 pinctrl-names = "default";
943 pinctrl-0 = <&pinctrl_uart1>;
944 uart-has-rtscts;
949 pinctrl-names = "default";
950 pinctrl-0 = <&pinctrl_uart2>;
955 pinctrl-names = "default";
956 pinctrl-0 = <&pinctrl_uart3>;
961 pinctrl-names = "default";
962 pinctrl-0 = <&pinctrl_uart4>;
968 pinctrl-names = "default";
969 pinctrl-0 = <&pinctrl_usb_otg1>;
975 disable-over-current;
981 assigned-clocks = <&clk IMX8MM_CLK_USDHC2_ROOT>;
982 pinctrl-names = "default", "state_100mhz", "state_200mhz";
983 pinctrl-0 = <&pinctrl_usdhc2>;
984 pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
985 pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
986 bus-width = <4>;
987 vmmc-supply = <®_usdhc2_vcc>;
992 assigned-clocks = <&clk IMX8MM_CLK_USDHC3_ROOT>;
993 assigned-clock-rates = <400000000>;
994 pinctrl-names = "default", "state_100mhz", "state_200mhz";
995 pinctrl-0 = <&pinctrl_usdhc3>;
996 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
997 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
998 bus-width = <8>;
999 non-removable;
1000 vmmc-supply = <&buck4_reg>;
1001 vqmmc-supply = <&buck5_reg>;