forked from u-boot/u-boot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
board: purism: add the Purism Librem5 phone
Initial commit of Librem5 u-boot and SPL Signed-off-by: Angus Ainslie <[email protected]> Co-developed-by: Sebastian Krzyszkowiak <[email protected]> Signed-off-by: Sebastian Krzyszkowiak <[email protected]> Reviewed-by: Fabio Estevam <[email protected]>
- Loading branch information
Showing
19 changed files
with
5,400 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// SPDX-License-Identifier: (GPL-2.0 OR MIT) | ||
|
||
#include "imx8mq-u-boot.dtsi" | ||
|
||
&pinctrl_uart1 { | ||
u-boot,dm-spl; | ||
}; | ||
|
||
&uart1 { /* console */ | ||
u-boot,dm-spl; | ||
}; | ||
|
||
&binman { | ||
/delete-node/ signed-hdmi; | ||
|
||
signed-hdmi { | ||
filename = "signed_hdmi.bin"; | ||
|
||
signed-dp-imx8m { | ||
filename = "signed_dp_imx8m.bin"; | ||
type = "blob-ext"; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
// Copyright (C) 2020 Purism SPC <[email protected]> | ||
|
||
/dts-v1/; | ||
|
||
#include "imx8mq-librem5.dtsi" | ||
|
||
/ { | ||
model = "Purism Librem 5r4"; | ||
compatible = "purism,librem5r4", "purism,librem5", "fsl,imx8mq"; | ||
}; | ||
|
||
&accel_gyro { | ||
mount-matrix = "1", "0", "0", | ||
"0", "1", "0", | ||
"0", "0", "-1"; | ||
}; | ||
|
||
&bat { | ||
maxim,rsns-microohm = <1667>; | ||
}; | ||
|
||
&bq25895 { | ||
ti,battery-regulation-voltage = <4200000>; /* uV */ | ||
ti,charge-current = <1500000>; /* uA */ | ||
ti,termination-current = <144000>; /* uA */ | ||
}; | ||
|
||
&led_backlight { | ||
led-max-microamp = <25000>; | ||
}; | ||
|
||
&proximity { | ||
proximity-near-level = <10>; | ||
}; |
Oops, something went wrong.