1*7ef62cebSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2*7ef62cebSEmmanuel Vadot/dts-v1/; 3*7ef62cebSEmmanuel Vadot 4*7ef62cebSEmmanuel Vadot/include/ "danube.dtsi" 5*7ef62cebSEmmanuel Vadot 6*7ef62cebSEmmanuel Vadot/ { 7*7ef62cebSEmmanuel Vadot chosen { 8*7ef62cebSEmmanuel Vadot bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; 9*7ef62cebSEmmanuel Vadot }; 10*7ef62cebSEmmanuel Vadot 11*7ef62cebSEmmanuel Vadot memory@0 { 12*7ef62cebSEmmanuel Vadot device_type = "memory"; 13*7ef62cebSEmmanuel Vadot reg = <0x0 0x2000000>; 14*7ef62cebSEmmanuel Vadot }; 15*7ef62cebSEmmanuel Vadot 16*7ef62cebSEmmanuel Vadot fpi@10000000 { 17*7ef62cebSEmmanuel Vadot #address-cells = <1>; 18*7ef62cebSEmmanuel Vadot #size-cells = <1>; 19*7ef62cebSEmmanuel Vadot localbus@0 { 20*7ef62cebSEmmanuel Vadot #address-cells = <2>; 21*7ef62cebSEmmanuel Vadot #size-cells = <1>; 22*7ef62cebSEmmanuel Vadot ranges = <0 0 0x0 0x3ffffff /* addrsel0 */ 23*7ef62cebSEmmanuel Vadot 1 0 0x4000000 0x4000010>; /* addsel1 */ 24*7ef62cebSEmmanuel Vadot compatible = "lantiq,localbus", "simple-bus"; 25*7ef62cebSEmmanuel Vadot 26*7ef62cebSEmmanuel Vadot nor-boot@0 { 27*7ef62cebSEmmanuel Vadot compatible = "lantiq,nor"; 28*7ef62cebSEmmanuel Vadot bank-width = <2>; 29*7ef62cebSEmmanuel Vadot reg = <0 0x0 0x2000000>; 30*7ef62cebSEmmanuel Vadot #address-cells = <1>; 31*7ef62cebSEmmanuel Vadot #size-cells = <1>; 32*7ef62cebSEmmanuel Vadot 33*7ef62cebSEmmanuel Vadot partition@0 { 34*7ef62cebSEmmanuel Vadot label = "uboot"; 35*7ef62cebSEmmanuel Vadot reg = <0x00000 0x10000>; /* 64 KB */ 36*7ef62cebSEmmanuel Vadot }; 37*7ef62cebSEmmanuel Vadot 38*7ef62cebSEmmanuel Vadot partition@10000 { 39*7ef62cebSEmmanuel Vadot label = "uboot_env"; 40*7ef62cebSEmmanuel Vadot reg = <0x10000 0x10000>; /* 64 KB */ 41*7ef62cebSEmmanuel Vadot }; 42*7ef62cebSEmmanuel Vadot 43*7ef62cebSEmmanuel Vadot partition@20000 { 44*7ef62cebSEmmanuel Vadot label = "linux"; 45*7ef62cebSEmmanuel Vadot reg = <0x20000 0x3d0000>; 46*7ef62cebSEmmanuel Vadot }; 47*7ef62cebSEmmanuel Vadot 48*7ef62cebSEmmanuel Vadot partition@400000 { 49*7ef62cebSEmmanuel Vadot label = "rootfs"; 50*7ef62cebSEmmanuel Vadot reg = <0x400000 0x400000>; 51*7ef62cebSEmmanuel Vadot }; 52*7ef62cebSEmmanuel Vadot }; 53*7ef62cebSEmmanuel Vadot }; 54*7ef62cebSEmmanuel Vadot 55*7ef62cebSEmmanuel Vadot gpio: pinmux@e100b10 { 56*7ef62cebSEmmanuel Vadot compatible = "lantiq,danube-pinctrl"; 57*7ef62cebSEmmanuel Vadot pinctrl-names = "default"; 58*7ef62cebSEmmanuel Vadot pinctrl-0 = <&state_default>; 59*7ef62cebSEmmanuel Vadot 60*7ef62cebSEmmanuel Vadot #gpio-cells = <2>; 61*7ef62cebSEmmanuel Vadot gpio-controller; 62*7ef62cebSEmmanuel Vadot reg = <0xe100b10 0xa0>; 63*7ef62cebSEmmanuel Vadot 64*7ef62cebSEmmanuel Vadot state_default: pinmux { 65*7ef62cebSEmmanuel Vadot stp { 66*7ef62cebSEmmanuel Vadot lantiq,groups = "stp"; 67*7ef62cebSEmmanuel Vadot lantiq,function = "stp"; 68*7ef62cebSEmmanuel Vadot }; 69*7ef62cebSEmmanuel Vadot exin { 70*7ef62cebSEmmanuel Vadot lantiq,groups = "exin1"; 71*7ef62cebSEmmanuel Vadot lantiq,function = "exin"; 72*7ef62cebSEmmanuel Vadot }; 73*7ef62cebSEmmanuel Vadot pci { 74*7ef62cebSEmmanuel Vadot lantiq,groups = "gnt1"; 75*7ef62cebSEmmanuel Vadot lantiq,function = "pci"; 76*7ef62cebSEmmanuel Vadot }; 77*7ef62cebSEmmanuel Vadot conf_out { 78*7ef62cebSEmmanuel Vadot lantiq,pins = "io4", "io5", "io6"; /* stp */ 79*7ef62cebSEmmanuel Vadot lantiq,open-drain; 80*7ef62cebSEmmanuel Vadot lantiq,pull = <0>; 81*7ef62cebSEmmanuel Vadot }; 82*7ef62cebSEmmanuel Vadot }; 83*7ef62cebSEmmanuel Vadot }; 84*7ef62cebSEmmanuel Vadot 85*7ef62cebSEmmanuel Vadot etop@e180000 { 86*7ef62cebSEmmanuel Vadot compatible = "lantiq,etop-xway"; 87*7ef62cebSEmmanuel Vadot reg = <0xe180000 0x40000>; 88*7ef62cebSEmmanuel Vadot interrupt-parent = <&icu0>; 89*7ef62cebSEmmanuel Vadot interrupts = <73 78>; 90*7ef62cebSEmmanuel Vadot phy-mode = "rmii"; 91*7ef62cebSEmmanuel Vadot mac-address = [ 00 11 22 33 44 55 ]; 92*7ef62cebSEmmanuel Vadot }; 93*7ef62cebSEmmanuel Vadot 94*7ef62cebSEmmanuel Vadot stp0: stp@e100bb0 { 95*7ef62cebSEmmanuel Vadot #gpio-cells = <2>; 96*7ef62cebSEmmanuel Vadot compatible = "lantiq,gpio-stp-xway"; 97*7ef62cebSEmmanuel Vadot gpio-controller; 98*7ef62cebSEmmanuel Vadot reg = <0xe100bb0 0x40>; 99*7ef62cebSEmmanuel Vadot 100*7ef62cebSEmmanuel Vadot lantiq,shadow = <0xfff>; 101*7ef62cebSEmmanuel Vadot lantiq,groups = <0x3>; 102*7ef62cebSEmmanuel Vadot }; 103*7ef62cebSEmmanuel Vadot 104*7ef62cebSEmmanuel Vadot pci@e105400 { 105*7ef62cebSEmmanuel Vadot lantiq,bus-clock = <33333333>; 106*7ef62cebSEmmanuel Vadot interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 107*7ef62cebSEmmanuel Vadot interrupt-map = < 108*7ef62cebSEmmanuel Vadot 0x7000 0 0 1 &icu0 29 1 // slot 14, irq 29 109*7ef62cebSEmmanuel Vadot >; 110*7ef62cebSEmmanuel Vadot gpios-reset = <&gpio 21 0>; 111*7ef62cebSEmmanuel Vadot req-mask = <0x1>; /* GNT1 */ 112*7ef62cebSEmmanuel Vadot }; 113*7ef62cebSEmmanuel Vadot 114*7ef62cebSEmmanuel Vadot }; 115*7ef62cebSEmmanuel Vadot}; 116