mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-20 12:54:36 +08:00
arm64: dts: freescale: sl28: enable sl28cpld
Add the board management controller node. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
d367e7d335
commit
c86e4202fd
@ -8,6 +8,7 @@
|
||||
|
||||
/dts-v1/;
|
||||
#include "fsl-ls1028a.dtsi"
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
|
||||
/ {
|
||||
model = "Kontron SMARC-sAL28";
|
||||
@ -166,6 +167,107 @@
|
||||
reg = <0x32>;
|
||||
};
|
||||
|
||||
sl28cpld@4a {
|
||||
compatible = "kontron,sl28cpld";
|
||||
reg = <0x4a>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
watchdog@4 {
|
||||
compatible = "kontron,sl28cpld-wdt";
|
||||
reg = <0x4>;
|
||||
kontron,assert-wdt-timeout-pin;
|
||||
};
|
||||
|
||||
hwmon@b {
|
||||
compatible = "kontron,sl28cpld-fan";
|
||||
reg = <0xb>;
|
||||
};
|
||||
|
||||
sl28cpld_pwm0: pwm@c {
|
||||
compatible = "kontron,sl28cpld-pwm";
|
||||
reg = <0xc>;
|
||||
#pwm-cells = <2>;
|
||||
};
|
||||
|
||||
sl28cpld_pwm1: pwm@e {
|
||||
compatible = "kontron,sl28cpld-pwm";
|
||||
reg = <0xe>;
|
||||
#pwm-cells = <2>;
|
||||
};
|
||||
|
||||
sl28cpld_gpio0: gpio@10 {
|
||||
compatible = "kontron,sl28cpld-gpio";
|
||||
reg = <0x10>;
|
||||
interrupts-extended = <&gpio2 6
|
||||
IRQ_TYPE_EDGE_FALLING>;
|
||||
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
gpio-line-names =
|
||||
"GPIO0_CAM0_PWR_N", "GPIO1_CAM1_PWR_N",
|
||||
"GPIO2_CAM0_RST_N", "GPIO3_CAM1_RST_N",
|
||||
"GPIO4_HDA_RST_N", "GPIO5_PWM_OUT",
|
||||
"GPIO6_TACHIN", "GPIO7";
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
};
|
||||
|
||||
sl28cpld_gpio1: gpio@15 {
|
||||
compatible = "kontron,sl28cpld-gpio";
|
||||
reg = <0x15>;
|
||||
interrupts-extended = <&gpio2 6
|
||||
IRQ_TYPE_EDGE_FALLING>;
|
||||
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
gpio-line-names =
|
||||
"GPIO8", "GPIO9", "GPIO10", "GPIO11",
|
||||
"", "", "", "";
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
};
|
||||
|
||||
sl28cpld_gpio2: gpio@1a {
|
||||
compatible = "kontron,sl28cpld-gpo";
|
||||
reg = <0x1a>;
|
||||
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
gpio-line-names =
|
||||
"LCD0 voltage enable",
|
||||
"LCD0 backlight enable",
|
||||
"eMMC reset", "LVDS bridge reset",
|
||||
"LVDS bridge power-down",
|
||||
"SDIO power enable",
|
||||
"", "";
|
||||
};
|
||||
|
||||
sl28cpld_gpio3: gpio@1b {
|
||||
compatible = "kontron,sl28cpld-gpi";
|
||||
reg = <0x1b>;
|
||||
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
gpio-line-names =
|
||||
"Power button", "Force recovery", "Sleep",
|
||||
"Battery low", "Lid state", "Charging",
|
||||
"Charger present", "";
|
||||
};
|
||||
|
||||
sl28cpld_intc: interrupt-controller@1c {
|
||||
compatible = "kontron,sl28cpld-intc";
|
||||
reg = <0x1c>;
|
||||
interrupts-extended = <&gpio2 6
|
||||
IRQ_TYPE_EDGE_FALLING>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c32";
|
||||
reg = <0x50>;
|
||||
|
Loading…
Reference in New Issue
Block a user