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