| 1 |
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) |
| 2 |
/* |
| 3 |
* Copyright (C) Protonic Holland |
| 4 |
* Author: David Jander <[email protected]> |
| 5 |
*/ |
| 6 |
/dts-v1/; |
| 7 |
|
| 8 |
#include "stm32mp153.dtsi" |
| 9 |
#include "stm32mp15xc.dtsi" |
| 10 |
#include "stm32mp15-pinctrl.dtsi" |
| 11 |
#include "stm32mp15xxaa-pinctrl.dtsi" |
| 12 |
#include "stm32mp15x-mecio1-io.dtsi" |
| 13 |
#include <dt-bindings/gpio/gpio.h> |
| 14 |
#include <dt-bindings/input/input.h> |
| 15 |
#include <dt-bindings/leds/common.h> |
| 16 |
|
| 17 |
/ { |
| 18 |
model = "Protonic MECIO1r1"; |
| 19 |
compatible = "prt,mecio1r1", "st,stm32mp153"; |
| 20 |
|
| 21 |
led { |
| 22 |
compatible = "gpio-leds"; |
| 23 |
|
| 24 |
led-0 { |
| 25 |
color = <LED_COLOR_ID_RED>; |
| 26 |
function = LED_FUNCTION_DEBUG; |
| 27 |
gpios = <&gpioa 13 GPIO_ACTIVE_LOW>; |
| 28 |
}; |
| 29 |
|
| 30 |
led-1 { |
| 31 |
color = <LED_COLOR_ID_GREEN>; |
| 32 |
function = LED_FUNCTION_DEBUG; |
| 33 |
gpios = <&gpioa 14 GPIO_ACTIVE_LOW>; |
| 34 |
linux,default-trigger = "heartbeat"; |
| 35 |
}; |
| 36 |
}; |
| 37 |
}; |
| 38 |
|
| 39 |
&clk_hse { |
| 40 |
clock-frequency = <24000000>; |
| 41 |
}; |
| 42 |
|
| 43 |
&m_can1 { |
| 44 |
pinctrl-names = "default", "sleep"; |
| 45 |
pinctrl-0 = <&m_can1_pins_b>; |
| 46 |
pinctrl-1 = <&m_can1_sleep_pins_b>; |
| 47 |
status = "okay"; |
| 48 |
}; |