Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linux-seco-imx
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Jira
Code
Merge requests
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Clea OS
bsp
nxp
linux-seco-imx
Commits
07e95abf
Commit
07e95abf
authored
Jun 8, 2023
by
Gianfranco Mariotti
Browse files
Options
Downloads
Patches
Plain Diff
[D18] add ECTRL support
parent
dfccad49
No related branches found
No related tags found
1 merge request
!100
[i.MX8MP][D18] Add support for D18 board
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/arm64/boot/dts/seco/seco-imx8mp-d18.dts
+40
-0
40 additions, 0 deletions
arch/arm64/boot/dts/seco/seco-imx8mp-d18.dts
with
40 additions
and
0 deletions
arch/arm64/boot/dts/seco/seco-imx8mp-d18.dts
+
40
−
0
View file @
07e95abf
...
...
@@ -8,6 +8,7 @@
#include <dt-bindings/usb/pd.h>
#include "include/imx8mp.dtsi"
#include "dt-bindings/net/ti-dp83867.h"
#include "dt-bindings/seco/ectrl_stm32.h"
/ {
model = "SECO i.MX8MPlus LPDDR4 D18 board";
...
...
@@ -232,10 +233,46 @@ &i2c1 {
pinctrl-0 = <&pinctrl_i2c1>;
status = "okay";
econtroller: ectrl@40 {
compatible = "seco,ectrl-stm32";
reg = <0x40>;
board-id = "D18";
interrupt-parent = <&gpio4>;
interrupts = <2 0>;
//rb-poff-gpio = "-1";
ectrl,input;
events = <ECTRL_EVNT_FAIL_BV
ECTRL_EVNT_FAIL_WD
ECTRL_EVNT_BATLOW_SIGNAL
ECTRL_EVNT_SLEEP_SIGNAL
ECTRL_EVNT_LID_SIGNAL
ECTRL_EVNT_PWR_BUTTON
ECTRL_EVNT_FAIL_PWGIN
ECTRL_EVNT_WAKE_EN>;
boot_device {
bootdev@0 {
id = <ECTRL_BOOTDEV_EMMC>;
label = "on board eMMC";
};
bootdev@1 {
id = <ECTRL_BOOTDEV_SPI>;
label = "external uSD";
};
};
};
pmic: pca9450@25 {
reg = <0x25>;
compatible = "nxp,pca9450c";
/* PMIC PCA9450 PMIC_nINT GPIO1_IO3 */
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pmic>;
interrupt-parent = <&gpio1>;
interrupts = <3 GPIO_ACTIVE_LOW>;
...
...
@@ -637,6 +674,9 @@ MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC 0x40000019
/* GPIO expander 0x20 */
MX8MP_IOMUXC_GPIO1_IO07__GPIO1_IO07 0x40000
/* eCtrl */
MX8MP_IOMUXC_SAI1_RXD0__GPIO4_IO02 0x0
MX8MP_IOMUXC_GPIO1_IO00__GPIO1_IO00 0x0
/* GPIOs and USB OC */
MX8MP_IOMUXC_SAI1_TXD7__GPIO4_IO19 0x0 /* USB0_EN_OC#_1V8_IN */
>;
...
...
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
sign in
to comment