1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2f126890aSEmmanuel Vadot/* 3*01950c46SEmmanuel Vadot * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 4f126890aSEmmanuel Vadot * Copyright (C) 2021 SanCloud Ltd 5f126890aSEmmanuel Vadot */ 6f126890aSEmmanuel Vadot/dts-v1/; 7f126890aSEmmanuel Vadot 8f126890aSEmmanuel Vadot#include "am33xx.dtsi" 9f126890aSEmmanuel Vadot#include "am335x-bone-common.dtsi" 10f126890aSEmmanuel Vadot#include "am335x-boneblack-common.dtsi" 11f126890aSEmmanuel Vadot#include "am335x-sancloud-bbe-common.dtsi" 12f126890aSEmmanuel Vadot 13f126890aSEmmanuel Vadot/ { 14f126890aSEmmanuel Vadot model = "SanCloud BeagleBone Enhanced Lite"; 15f126890aSEmmanuel Vadot compatible = "sancloud,am335x-boneenhanced", 16f126890aSEmmanuel Vadot "ti,am335x-bone-black", 17f126890aSEmmanuel Vadot "ti,am335x-bone", 18f126890aSEmmanuel Vadot "ti,am33xx"; 19f126890aSEmmanuel Vadot}; 20f126890aSEmmanuel Vadot 21f126890aSEmmanuel Vadot&am33xx_pinmux { 22f126890aSEmmanuel Vadot bb_spi0_pins: bb-spi0-pins { 23f126890aSEmmanuel Vadot pinctrl-single,pins = < 24f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT, MUX_MODE0) 25f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_INPUT, MUX_MODE0) 26f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_SPI0_D1, PIN_INPUT, MUX_MODE0) 27f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_SPI0_CS0, PIN_INPUT, MUX_MODE0) 28f126890aSEmmanuel Vadot >; 29f126890aSEmmanuel Vadot }; 30f126890aSEmmanuel Vadot}; 31f126890aSEmmanuel Vadot 32f126890aSEmmanuel Vadot&spi0 { 33f126890aSEmmanuel Vadot #address-cells = <1>; 34f126890aSEmmanuel Vadot #size-cells = <0>; 35f126890aSEmmanuel Vadot 36f126890aSEmmanuel Vadot status = "okay"; 37f126890aSEmmanuel Vadot pinctrl-names = "default"; 38f126890aSEmmanuel Vadot pinctrl-0 = <&bb_spi0_pins>; 39f126890aSEmmanuel Vadot 40f126890aSEmmanuel Vadot channel@0 { 41f126890aSEmmanuel Vadot #address-cells = <1>; 42f126890aSEmmanuel Vadot #size-cells = <0>; 43f126890aSEmmanuel Vadot 44f126890aSEmmanuel Vadot compatible = "micron,spi-authenta"; 45f126890aSEmmanuel Vadot 46f126890aSEmmanuel Vadot reg = <0>; 47f126890aSEmmanuel Vadot spi-max-frequency = <16000000>; 48f126890aSEmmanuel Vadot spi-cpha; 49f126890aSEmmanuel Vadot }; 50f126890aSEmmanuel Vadot}; 51