1*454b61d8SNikita Shubin// SPDX-License-Identifier: GPL-2.0 2*454b61d8SNikita Shubin/* 3*454b61d8SNikita Shubin * Device Tree file for Liebherr controller BK3.1 based on Cirrus EP9302 SoC 4*454b61d8SNikita Shubin */ 5*454b61d8SNikita Shubin/dts-v1/; 6*454b61d8SNikita Shubin#include "ep93xx.dtsi" 7*454b61d8SNikita Shubin 8*454b61d8SNikita Shubin/ { 9*454b61d8SNikita Shubin model = "Liebherr controller BK3.1"; 10*454b61d8SNikita Shubin compatible = "liebherr,bk3", "cirrus,ep9301"; 11*454b61d8SNikita Shubin #address-cells = <1>; 12*454b61d8SNikita Shubin #size-cells = <1>; 13*454b61d8SNikita Shubin 14*454b61d8SNikita Shubin chosen { 15*454b61d8SNikita Shubin }; 16*454b61d8SNikita Shubin 17*454b61d8SNikita Shubin memory@0 { 18*454b61d8SNikita Shubin device_type = "memory"; 19*454b61d8SNikita Shubin /* should be set from ATAGS */ 20*454b61d8SNikita Shubin reg = <0x00000000 0x02000000>, 21*454b61d8SNikita Shubin <0x000530c0 0x01fdd000>; 22*454b61d8SNikita Shubin }; 23*454b61d8SNikita Shubin 24*454b61d8SNikita Shubin leds { 25*454b61d8SNikita Shubin compatible = "gpio-leds"; 26*454b61d8SNikita Shubin led-0 { 27*454b61d8SNikita Shubin label = "grled"; 28*454b61d8SNikita Shubin gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>; 29*454b61d8SNikita Shubin linux,default-trigger = "heartbeat"; 30*454b61d8SNikita Shubin function = LED_FUNCTION_HEARTBEAT; 31*454b61d8SNikita Shubin }; 32*454b61d8SNikita Shubin 33*454b61d8SNikita Shubin led-1 { 34*454b61d8SNikita Shubin label = "rdled"; 35*454b61d8SNikita Shubin gpios = <&gpio4 1 GPIO_ACTIVE_HIGH>; 36*454b61d8SNikita Shubin function = LED_FUNCTION_FAULT; 37*454b61d8SNikita Shubin }; 38*454b61d8SNikita Shubin }; 39*454b61d8SNikita Shubin}; 40*454b61d8SNikita Shubin 41*454b61d8SNikita Shubin&ebi { 42*454b61d8SNikita Shubin nand-controller@60000000 { 43*454b61d8SNikita Shubin compatible = "technologic,ts7200-nand"; 44*454b61d8SNikita Shubin reg = <0x60000000 0x8000000>; 45*454b61d8SNikita Shubin #address-cells = <1>; 46*454b61d8SNikita Shubin #size-cells = <0>; 47*454b61d8SNikita Shubin 48*454b61d8SNikita Shubin nand@0 { 49*454b61d8SNikita Shubin reg = <0>; 50*454b61d8SNikita Shubin partitions { 51*454b61d8SNikita Shubin compatible = "fixed-partitions"; 52*454b61d8SNikita Shubin #address-cells = <1>; 53*454b61d8SNikita Shubin #size-cells = <1>; 54*454b61d8SNikita Shubin 55*454b61d8SNikita Shubin partition@0 { 56*454b61d8SNikita Shubin label = "System"; 57*454b61d8SNikita Shubin reg = <0x00000000 0x01e00000>; 58*454b61d8SNikita Shubin read-only; 59*454b61d8SNikita Shubin }; 60*454b61d8SNikita Shubin 61*454b61d8SNikita Shubin partition@1e00000 { 62*454b61d8SNikita Shubin label = "Data"; 63*454b61d8SNikita Shubin reg = <0x01e00000 0x05f20000>; 64*454b61d8SNikita Shubin }; 65*454b61d8SNikita Shubin 66*454b61d8SNikita Shubin partition@7d20000 { 67*454b61d8SNikita Shubin label = "RedBoot"; 68*454b61d8SNikita Shubin reg = <0x07d20000 0x002e0000>; 69*454b61d8SNikita Shubin read-only; 70*454b61d8SNikita Shubin }; 71*454b61d8SNikita Shubin }; 72*454b61d8SNikita Shubin }; 73*454b61d8SNikita Shubin }; 74*454b61d8SNikita Shubin}; 75*454b61d8SNikita Shubin 76*454b61d8SNikita Shubinð0 { 77*454b61d8SNikita Shubin phy-handle = <&phy0>; 78*454b61d8SNikita Shubin}; 79*454b61d8SNikita Shubin 80*454b61d8SNikita Shubin&i2s { 81*454b61d8SNikita Shubin dmas = <&dma0 0 1>, <&dma0 0 2>; 82*454b61d8SNikita Shubin dma-names = "tx", "rx"; 83*454b61d8SNikita Shubin pinctrl-names = "default"; 84*454b61d8SNikita Shubin pinctrl-0 = <&i2s_on_ac97_pins>; 85*454b61d8SNikita Shubin status = "okay"; 86*454b61d8SNikita Shubin}; 87*454b61d8SNikita Shubin 88*454b61d8SNikita Shubin&gpio1 { 89*454b61d8SNikita Shubin /* PWM */ 90*454b61d8SNikita Shubin gpio-ranges = <&syscon 6 163 1>; 91*454b61d8SNikita Shubin}; 92*454b61d8SNikita Shubin 93*454b61d8SNikita Shubin&gpio4 { 94*454b61d8SNikita Shubin gpio-ranges = <&syscon 0 97 2>; 95*454b61d8SNikita Shubin status = "okay"; 96*454b61d8SNikita Shubin}; 97*454b61d8SNikita Shubin 98*454b61d8SNikita Shubin&gpio6 { 99*454b61d8SNikita Shubin gpio-ranges = <&syscon 0 87 2>; 100*454b61d8SNikita Shubin status = "okay"; 101*454b61d8SNikita Shubin}; 102*454b61d8SNikita Shubin 103*454b61d8SNikita Shubin&gpio7 { 104*454b61d8SNikita Shubin gpio-ranges = <&syscon 2 199 4>; 105*454b61d8SNikita Shubin status = "okay"; 106*454b61d8SNikita Shubin}; 107*454b61d8SNikita Shubin 108*454b61d8SNikita Shubin&mdio0 { 109*454b61d8SNikita Shubin phy0: ethernet-phy@1 { 110*454b61d8SNikita Shubin reg = <1>; 111*454b61d8SNikita Shubin device_type = "ethernet-phy"; 112*454b61d8SNikita Shubin }; 113*454b61d8SNikita Shubin}; 114*454b61d8SNikita Shubin 115*454b61d8SNikita Shubin&uart0 { 116*454b61d8SNikita Shubin status = "okay"; 117*454b61d8SNikita Shubin}; 118*454b61d8SNikita Shubin 119*454b61d8SNikita Shubin&uart1 { 120*454b61d8SNikita Shubin status = "okay"; 121*454b61d8SNikita Shubin}; 122*454b61d8SNikita Shubin 123*454b61d8SNikita Shubin&usb0 { 124*454b61d8SNikita Shubin status = "okay"; 125*454b61d8SNikita Shubin}; 126