1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/dts-v1/; 3*724ba675SRob Herring 4*724ba675SRob Herring#include "kirkwood.dtsi" 5*724ba675SRob Herring#include "kirkwood-6282.dtsi" 6*724ba675SRob Herring 7*724ba675SRob Herring/ { 8*724ba675SRob Herring model = "Plat'Home OpenBlocksA6"; 9*724ba675SRob Herring compatible = "plathome,openblocks-a6", "marvell,kirkwood-88f6283", "marvell,kirkwood"; 10*724ba675SRob Herring 11*724ba675SRob Herring memory { 12*724ba675SRob Herring device_type = "memory"; 13*724ba675SRob Herring reg = <0x00000000 0x20000000>; 14*724ba675SRob Herring }; 15*724ba675SRob Herring 16*724ba675SRob Herring chosen { 17*724ba675SRob Herring bootargs = "console=ttyS0,115200n8 earlyprintk"; 18*724ba675SRob Herring stdout-path = &uart0; 19*724ba675SRob Herring }; 20*724ba675SRob Herring 21*724ba675SRob Herring ocp@f1000000 { 22*724ba675SRob Herring serial@12000 { 23*724ba675SRob Herring status = "okay"; 24*724ba675SRob Herring }; 25*724ba675SRob Herring 26*724ba675SRob Herring serial@12100 { 27*724ba675SRob Herring status = "okay"; 28*724ba675SRob Herring }; 29*724ba675SRob Herring 30*724ba675SRob Herring sata@80000 { 31*724ba675SRob Herring nr-ports = <1>; 32*724ba675SRob Herring status = "okay"; 33*724ba675SRob Herring }; 34*724ba675SRob Herring 35*724ba675SRob Herring i2c@11100 { 36*724ba675SRob Herring status = "okay"; 37*724ba675SRob Herring 38*724ba675SRob Herring s35390a: s35390a@30 { 39*724ba675SRob Herring compatible = "sii,s35390a"; 40*724ba675SRob Herring reg = <0x30>; 41*724ba675SRob Herring }; 42*724ba675SRob Herring }; 43*724ba675SRob Herring 44*724ba675SRob Herring pinctrl: pin-controller@10000 { 45*724ba675SRob Herring pinctrl-0 = <&pmx_dip_switches>; 46*724ba675SRob Herring pinctrl-names = "default"; 47*724ba675SRob Herring 48*724ba675SRob Herring pmx_uart0: pmx-uart0 { 49*724ba675SRob Herring marvell,pins = "mpp10", "mpp11", "mpp15", 50*724ba675SRob Herring "mpp16"; 51*724ba675SRob Herring marvell,function = "uart0"; 52*724ba675SRob Herring }; 53*724ba675SRob Herring 54*724ba675SRob Herring pmx_uart1: pmx-uart1 { 55*724ba675SRob Herring marvell,pins = "mpp13", "mpp14", "mpp8", 56*724ba675SRob Herring "mpp9"; 57*724ba675SRob Herring marvell,function = "uart1"; 58*724ba675SRob Herring }; 59*724ba675SRob Herring 60*724ba675SRob Herring pmx_sysrst: pmx-sysrst { 61*724ba675SRob Herring marvell,pins = "mpp6"; 62*724ba675SRob Herring marvell,function = "sysrst"; 63*724ba675SRob Herring }; 64*724ba675SRob Herring 65*724ba675SRob Herring pmx_dip_switches: pmx-dip-switches { 66*724ba675SRob Herring marvell,pins = "mpp20", "mpp21", "mpp22", "mpp23"; 67*724ba675SRob Herring marvell,function = "gpio"; 68*724ba675SRob Herring }; 69*724ba675SRob Herring 70*724ba675SRob Herring pmx_gpio_header: pmx-gpio-header { 71*724ba675SRob Herring marvell,pins = "mpp24", "mpp25", "mpp26", "mpp27", 72*724ba675SRob Herring "mpp28", "mpp29", "mpp30", "mpp31"; 73*724ba675SRob Herring marvell,function = "gpio"; 74*724ba675SRob Herring }; 75*724ba675SRob Herring 76*724ba675SRob Herring pmx_gpio_init: pmx-init { 77*724ba675SRob Herring marvell,pins = "mpp38"; 78*724ba675SRob Herring marvell,function = "gpio"; 79*724ba675SRob Herring }; 80*724ba675SRob Herring 81*724ba675SRob Herring pmx_usb_oc: pmx-usb-oc { 82*724ba675SRob Herring marvell,pins = "mpp39"; 83*724ba675SRob Herring marvell,function = "gpio"; 84*724ba675SRob Herring }; 85*724ba675SRob Herring 86*724ba675SRob Herring pmx_leds: pmx-leds { 87*724ba675SRob Herring marvell,pins = "mpp41", "mpp42", "mpp43"; 88*724ba675SRob Herring marvell,function = "gpio"; 89*724ba675SRob Herring }; 90*724ba675SRob Herring }; 91*724ba675SRob Herring }; 92*724ba675SRob Herring 93*724ba675SRob Herring gpio-leds { 94*724ba675SRob Herring compatible = "gpio-leds"; 95*724ba675SRob Herring pinctrl-0 = <&pmx_leds>; 96*724ba675SRob Herring pinctrl-names = "default"; 97*724ba675SRob Herring 98*724ba675SRob Herring led-red { 99*724ba675SRob Herring label = "obsa6:red:stat"; 100*724ba675SRob Herring gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; 101*724ba675SRob Herring }; 102*724ba675SRob Herring 103*724ba675SRob Herring led-green { 104*724ba675SRob Herring label = "obsa6:green:stat"; 105*724ba675SRob Herring gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; 106*724ba675SRob Herring }; 107*724ba675SRob Herring 108*724ba675SRob Herring led-yellow { 109*724ba675SRob Herring label = "obsa6:yellow:stat"; 110*724ba675SRob Herring gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; 111*724ba675SRob Herring }; 112*724ba675SRob Herring }; 113*724ba675SRob Herring 114*724ba675SRob Herring gpio_keys { 115*724ba675SRob Herring compatible = "gpio-keys"; 116*724ba675SRob Herring pinctrl-0 = <&pmx_gpio_init>; 117*724ba675SRob Herring pinctrl-names = "default"; 118*724ba675SRob Herring #address-cells = <1>; 119*724ba675SRob Herring #size-cells = <0>; 120*724ba675SRob Herring 121*724ba675SRob Herring power { 122*724ba675SRob Herring label = "Init Button"; 123*724ba675SRob Herring linux,code = <KEY_POWER>; 124*724ba675SRob Herring gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; 125*724ba675SRob Herring }; 126*724ba675SRob Herring }; 127*724ba675SRob Herring}; 128*724ba675SRob Herring 129*724ba675SRob Herring&nand { 130*724ba675SRob Herring chip-delay = <25>; 131*724ba675SRob Herring status = "okay"; 132*724ba675SRob Herring 133*724ba675SRob Herring partition@0 { 134*724ba675SRob Herring label = "uboot"; 135*724ba675SRob Herring reg = <0x0 0x90000>; 136*724ba675SRob Herring }; 137*724ba675SRob Herring 138*724ba675SRob Herring partition@90000 { 139*724ba675SRob Herring label = "env"; 140*724ba675SRob Herring reg = <0x90000 0x44000>; 141*724ba675SRob Herring }; 142*724ba675SRob Herring 143*724ba675SRob Herring partition@d4000 { 144*724ba675SRob Herring label = "test"; 145*724ba675SRob Herring reg = <0xd4000 0x20000>; 146*724ba675SRob Herring }; 147*724ba675SRob Herring 148*724ba675SRob Herring partition@f4000 { 149*724ba675SRob Herring label = "conf"; 150*724ba675SRob Herring reg = <0xf4000 0x400000>; 151*724ba675SRob Herring }; 152*724ba675SRob Herring 153*724ba675SRob Herring partition@4f4000 { 154*724ba675SRob Herring label = "linux"; 155*724ba675SRob Herring reg = <0x4f4000 0x1d20000>; 156*724ba675SRob Herring }; 157*724ba675SRob Herring 158*724ba675SRob Herring partition@2214000 { 159*724ba675SRob Herring label = "user"; 160*724ba675SRob Herring reg = <0x2214000 0x1dec000>; 161*724ba675SRob Herring }; 162*724ba675SRob Herring}; 163*724ba675SRob Herring 164*724ba675SRob Herring&mdio { 165*724ba675SRob Herring status = "okay"; 166*724ba675SRob Herring 167*724ba675SRob Herring ethphy0: ethernet-phy@0 { 168*724ba675SRob Herring reg = <0>; 169*724ba675SRob Herring }; 170*724ba675SRob Herring}; 171*724ba675SRob Herring 172*724ba675SRob Herringð0 { 173*724ba675SRob Herring status = "okay"; 174*724ba675SRob Herring ethernet0-port@0 { 175*724ba675SRob Herring phy-handle = <ðphy0>; 176*724ba675SRob Herring }; 177*724ba675SRob Herring}; 178*724ba675SRob Herring 179*724ba675SRob Herring&gpio0 { 180*724ba675SRob Herring status = "okay"; 181*724ba675SRob Herring 182*724ba675SRob Herring pinctrl-0 = <&pmx_gpio_header>; 183*724ba675SRob Herring pinctrl-names = "default"; 184*724ba675SRob Herring}; 185