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