Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linux-seco-imx
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Jira
Code
Merge requests
12
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Clea OS
bsp
nxp
linux-seco-imx
Commits
c897f650
Commit
c897f650
authored
11 months ago
by
Gianfranco Mariotti
Committed by
Michele Cirinei
11 months ago
Browse files
Options
Downloads
Patches
Plain Diff
[C43] add PCIe M.2 Key {E,B} W_DISABLE# support
parent
2a1cff21
No related branches found
No related tags found
1 merge request
!160
[C43] add PCIe M.2 Key {E,B} W_DISABLE# support
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/arm64/boot/dts/seco/seco-imx8qm-c43.dts
+86
-2
86 additions, 2 deletions
arch/arm64/boot/dts/seco/seco-imx8qm-c43.dts
with
86 additions
and
2 deletions
arch/arm64/boot/dts/seco/seco-imx8qm-c43.dts
+
86
−
2
View file @
c897f650
...
@@ -259,6 +259,76 @@
...
@@ -259,6 +259,76 @@
regulator-boot-on;
regulator-boot-on;
regulator-always-on;
regulator-always-on;
};
};
/* PCIEA */
m2_keyb_w_dis1n: m2_keyb_w_dis1n {
compatible = "regulator-fixed";
regulator-name = "m2_keyb_w_dis1n";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
enable-active-high;
gpio = <&lsio_gpio0 1 GPIO_ACTIVE_HIGH>;
};
m2_keyb_w_dis1n_consumer: M2_KEYB_W_DIS1N {
compatible = "reg-userspace-consumer";
regulator-name = "M2_KEYB_W_DIS1#";
regulator-supplies = "m2_keyb_w_dis1n";
m2_keyb_w_dis1n-supply = <&m2_keyb_w_dis1n>;
regulator-boot-on;
};
m2_keyb_w_dis2n: m2_keyb_w_dis2n {
compatible = "regulator-fixed";
regulator-name = "m2_keyb_w_dis2n";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
enable-active-high;
gpio = <&lsio_gpio0 4 GPIO_ACTIVE_HIGH>;
};
m2_keyb_w_dis2n_consumer: M2_KEYB_W_DIS2N {
compatible = "reg-userspace-consumer";
regulator-name = "M2_KEYB_W_DIS2#";
regulator-supplies = "m2_keyb_w_dis2n";
m2_keyb_w_dis2n-supply = <&m2_keyb_w_dis2n>;
regulator-boot-on;
};
/* PCIEB */
m2_keye_w_dis1n: m2_keye_w_dis1n {
compatible = "regulator-fixed";
regulator-name = "m2_keye_w_dis1n";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
enable-active-high;
gpio = <&lsio_gpio0 0 GPIO_ACTIVE_HIGH>;
};
m2_keye_w_dis1n_consumer: M2_KEYE_W_DIS1N {
compatible = "reg-userspace-consumer";
regulator-name = "M2_KEYE_W_DIS1#";
regulator-supplies = "m2_keye_w_dis1n";
m2_keye_w_dis1n-supply = <&m2_keye_w_dis1n>;
regulator-boot-on;
};
m2_keye_w_dis2n: m2_keye_w_dis2n {
compatible = "regulator-fixed";
regulator-name = "m2_keye_w_dis2n";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
enable-active-high;
gpio = <&lsio_gpio0 2 GPIO_ACTIVE_HIGH>;
};
m2_keye_w_dis2n_consumer: M2_KEYE_W_DIS2N {
compatible = "reg-userspace-consumer";
regulator-name = "M2_KEYE_W_DIS2#";
regulator-supplies = "m2_keye_w_dis2n";
m2_keye_w_dis2n-supply = <&m2_keye_w_dis2n>;
regulator-boot-on;
};
};
};
modem_reset: modem-reset {
modem_reset: modem-reset {
...
@@ -854,7 +924,7 @@
...
@@ -854,7 +924,7 @@
&pciea{
&pciea{
ext_osc = <1>;
ext_osc = <1>;
pinctrl-names = "default";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pciea>;
pinctrl-0 = <&pinctrl_pciea
&pinctrl_pciea_w_dis
>;
reset-gpio = <&lsio_gpio4 29 GPIO_ACTIVE_LOW>;
reset-gpio = <&lsio_gpio4 29 GPIO_ACTIVE_LOW>;
clkreq-gpio = <&lsio_gpio4 27 GPIO_ACTIVE_LOW>;
clkreq-gpio = <&lsio_gpio4 27 GPIO_ACTIVE_LOW>;
status = "okay";
status = "okay";
...
@@ -863,7 +933,7 @@
...
@@ -863,7 +933,7 @@
&pcieb{
&pcieb{
ext_osc = <1>;
ext_osc = <1>;
pinctrl-names = "default";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pcieb>;
pinctrl-0 = <&pinctrl_pcieb
&pinctrl_pcieb_w_dis
>;
reset-gpio = <&lsio_gpio5 0 GPIO_ACTIVE_LOW>;
reset-gpio = <&lsio_gpio5 0 GPIO_ACTIVE_LOW>;
clkreq-gpio = <&lsio_gpio4 30 GPIO_ACTIVE_LOW>;
clkreq-gpio = <&lsio_gpio4 30 GPIO_ACTIVE_LOW>;
status = "okay";
status = "okay";
...
@@ -1324,6 +1394,20 @@ ldb1_backlight: lvds_backlight@0 {
...
@@ -1324,6 +1394,20 @@ ldb1_backlight: lvds_backlight@0 {
>;
>;
};
};
pinctrl_pciea_w_dis: pcieawdisgrp {
fsl,pins = <
IMX8QM_SIM0_RST_LSIO_GPIO0_IO01 0x00000021 /* M2_KEYB_W_DIS1# */
IMX8QM_SIM0_POWER_EN_LSIO_GPIO0_IO04 0x00000021 /* M2_KEYB_W_DIS2# */
>;
};
pinctrl_pcieb_w_dis: pciebwdisgrp {
fsl,pins = <
IMX8QM_SIM0_CLK_LSIO_GPIO0_IO00 0x00000021 /* M2_KEYE_W_DIS1# */
IMX8QM_SIM0_IO_LSIO_GPIO0_IO02 0x00000021 /* M2_KEYE_W_DIS2# */
>;
};
pinctrl_usdhc1: usdhc1grp {
pinctrl_usdhc1: usdhc1grp {
fsl,pins = <
fsl,pins = <
IMX8QM_EMMC0_CLK_CONN_EMMC0_CLK 0x06000041
IMX8QM_EMMC0_CLK_CONN_EMMC0_CLK 0x06000041
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment