diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/imx7d-meerkat96.dts | 141 |
1 files changed, 133 insertions, 8 deletions
diff --git a/arch/arm/boot/dts/imx7d-meerkat96.dts b/arch/arm/boot/dts/imx7d-meerkat96.dts index b8fad2829f62..a922f5012d55 100644 --- a/arch/arm/boot/dts/imx7d-meerkat96.dts +++ b/arch/arm/boot/dts/imx7d-meerkat96.dts @@ -20,6 +20,15 @@ reg = <0x80000000 0x20000000>; /* 512MB */ }; + usdhc3_pwrseq: usdhc3-pwrseq { + compatible = "mmc-pwrseq-simple"; +// reset-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>; +// clocks = <&clk_32768_ck>; +// clock-names = "ext_clock"; + clocks = <&clks IMX7D_CLKO2_ROOT_DIV>; + clock-names = "ext_clock"; + }; + reg_wlreg_on: regulator-wlreg_on { compatible = "regulator-fixed"; pinctrl-names = "default"; @@ -27,8 +36,10 @@ regulator-name = "wlreg_on"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; + startup-delay-us = <100>; gpio = <&gpio6 15 GPIO_ACTIVE_HIGH>; enable-active-high; + regulator-always-on; }; reg_3p3v: regulator-3p3v { @@ -45,6 +56,7 @@ regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; gpio = <&gpio1 2 GPIO_ACTIVE_LOW>; + enable-active-low; }; reg_usb_otg2_vbus: regulator-usb-otg2-vbus { @@ -137,20 +149,90 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c4>; status = "okay"; - +/* ltc3589: pmic@34 { compatible = "lltc,ltc3589-2"; reg = <0x34>; - }; - tda19988: tda19988@73 { + regulators { + sw1_reg: sw1 { + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <1000000>; + lltc,fb-voltage-divider = <100000 205000>; + regulator-ramp-delay = <7000>; + regulator-boot-on; + regulator-always-on; + }; + + sw2_reg: sw2 { + regulator-min-microvolt = <704123>; + regulator-max-microvolt = <1456803>; + lltc,fb-voltage-divider = <180000 191000>; + regulator-ramp-delay = <7000>; + regulator-boot-on; + regulator-always-on; + }; + + sw3_reg: sw3 { + regulator-min-microvolt = <1341250>; + regulator-max-microvolt = <2775000>; + lltc,fb-voltage-divider = <270000 100000>; + regulator-ramp-delay = <7000>; + regulator-boot-on; + regulator-always-on; + }; + + bb_out_reg: bb-out { + regulator-min-microvolt = <3387341>; + regulator-max-microvolt = <3387341>; + lltc,fb-voltage-divider = <511000 158000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo1_reg: ldo1 { + regulator-min-microvolt = <1306329>; + regulator-max-microvolt = <1306329>; + lltc,fb-voltage-divider = <100000 158000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo2_reg: ldo2 { + regulator-min-microvolt = <704123>; + regulator-max-microvolt = <1456806>; + lltc,fb-voltage-divider = <180000 191000>; + regulator-ramp-delay = <7000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo3_reg: ldo3 { + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-boot-on; + }; + + ldo4_reg: ldo4 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <3200000>; + }; + }; + }; +*/ + tda19988: hdmi-encoder@73 { compatible = "nxp,tda998x"; reg = <0x73>; - nxp,calib-gpios = <&gpio2 28 0>; - interrupts-extended = <&gpio2 28 IRQ_TYPE_EDGE_FALLING>; - pinctrl-names = "default"; pinctrl-0 = <&pinctrl_tda998x>; + nxp,calib-gpios = <&gpio2 28 0>; + interrupt-parent = <&gpio2>; + interrupts = <28 IRQ_TYPE_EDGE_FALLING>; + port { + hdmi_in: endpoint { + remote-endpoint = <&lcdif_out>; + }; + }; }; }; @@ -161,7 +243,7 @@ display = <&display1>; display1: display_name { - bits-per-pixel = <16>; + bits-per-pixel = <32>; bus-width = <24>; display-timings { @@ -179,6 +261,35 @@ }; }; }; +/* + display1: display { + bits-per-pixel = <32>; + bus-width = <24>; + + display-timings { + native-mode = <&timing0>; + timing0: timing0 { + clock-frequency = <33500000>; + hactive = <800>; + vactive = <480>; + hfront-porch = <164>; + hback-porch = <89>; + hsync-len = <10>; + vback-porch = <23>; + vfront-porch = <10>; + vsync-len = <10>; + hsync-active = <0>; + vsync-active = <0>; + de-active = <1>; + pixelclk-active = <0>; + }; + }; + }; +*/ port { + lcdif_out: endpoint { + remote-endpoint = <&hdmi_in>; + }; + }; }; &uart1 { @@ -249,17 +360,25 @@ #address-cells = <1>; #size-cells = <0>; pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_usdhc3>; + pinctrl-0 = <&pinctrl_usdhc3 &pinctrl_wlan_irq>; bus-width = <4>; no-1-8-v; + no-mmc; non-removable; + cap-sdio-irq; keep-power-in-suspend; + enable-sdio-wakeup; + mmc-pwrseq = <&usdhc3_pwrseq>; vmmc-supply = <®_wlreg_on>; + vqmmc-supply =<®_3p3v>; status = "okay"; brcmf: wifi@1 { reg = <1>; compatible = "brcm,bcm4329-fmac"; + interrupt-parent = <&gpio6>; + interrupts = <14 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "host-wake"; }; }; @@ -399,5 +518,11 @@ MX7D_PAD_SAI1_TX_DATA__GPIO6_IO15 0x19 >; }; + + pinctrl_wlan_irq: wlan_irq { + fsl,pins = < + MX7D_PAD_SAI1_TX_SYNC__GPIO6_IO14 0x19 + >; + }; }; }; |