* SPICE netlist
V1 IN 0 12
R1 IN N001 15m
L1 N001 N002 10 Rser=.1
D1 N002 OUT MBRS1100
C1 OUT 0 2.2 m=2 Rser=25m
C2 N006 0 1
C3 N012 N013 8.2n
R2 N010 0 90.9K
C4 N011 0 5n
C5 N008 0 4.7
D2 N009 0 LXHL-BW02 n=17
M1 N009 N007 N005 N005 Si7113DN
R3 OUT N005 750m
R4 N004 0 21.5K
R5 OUT N004 1Meg
XU1 OUT N005 N007 0 NC_01 N002 N004 N012 N003 N003 N011 N010 N003 NC_02 NC_03 NC_04 N008 MP_05 MP_06 N008 MP_07 MP_08 IN IN 0 N001 IN N006 LT3952 ;pnba ISP)ISN)TG)GND)ISMON)SW)FB)VC)CTRL)VREF)SS)RT)DIM)PWM)_SHORTLED)_OPENLED)SYNC/SPRD)))INTVCC)))VIN)EN/UVLO)OVLO)IVINN)IVINP)IVINCOMP
R6 N013 0 3.65K
.tran 2.4m startup

* LTspice schematic (.asc)
Version 4.1
SHEET 1 1008 1056
WIRE -360 -528 -504 -528
WIRE -296 -528 -360 -528
WIRE -200 -528 -296 -528
WIRE -104 -528 -200 -528
WIRE -88 -528 -104 -528
WIRE 56 -528 -8 -528
WIRE 184 -528 136 -528
WIRE 232 -528 184 -528
WIRE 344 -528 296 -528
WIRE 408 -528 344 -528
WIRE 456 -528 408 -528
WIRE 504 -528 456 -528
WIRE 408 -512 408 -528
WIRE -504 -496 -504 -528
WIRE -296 -480 -296 -528
WIRE -200 -480 -200 -528
WIRE -104 -480 -104 -528
WIRE -8 -480 -8 -528
WIRE 408 -432 408 -448
WIRE -360 -416 -392 -416
WIRE 184 -416 184 -528
WIRE 184 -416 56 -416
WIRE -504 -384 -504 -416
WIRE 344 -368 344 -528
WIRE -360 -320 -392 -320
WIRE 72 -320 56 -320
WIRE 344 -272 344 -288
WIRE 344 -272 136 -272
WIRE 344 -256 344 -272
WIRE -392 -224 -392 -320
WIRE -360 -224 -392 -224
WIRE 136 -224 136 -272
WIRE 136 -224 56 -224
WIRE 344 -160 344 -176
WIRE -392 -128 -392 -224
WIRE -360 -128 -392 -128
WIRE 504 -128 504 -528
WIRE 504 -128 56 -128
WIRE 504 -32 504 -48
WIRE 504 -32 56 -32
WIRE 504 48 504 -32
WIRE -360 64 -440 64
WIRE 456 64 56 64
WIRE -440 80 -440 64
WIRE -440 160 -440 144
WIRE 120 160 56 160
WIRE 504 192 504 144
WIRE 120 256 120 160
WIRE 120 256 56 256
WIRE 120 272 120 256
WIRE 504 304 504 256
WIRE -104 336 -104 320
WIRE -8 336 -8 320
WIRE -200 352 -200 320
WIRE 120 352 120 336
WIRE -200 432 -200 416
WIRE -104 432 -104 416
WIRE -8 432 -8 400
WIRE -200 528 -200 512
FLAG 72 -320 0
FLAG 408 -432 0
FLAG -504 -384 0
FLAG -392 -416 0
FLAG -440 160 0
FLAG -200 528 0
FLAG -104 432 0
FLAG -8 432 0
FLAG 120 352 0
FLAG 504 304 0
FLAG 344 -160 0
FLAG -360 -528 IN
FLAG 456 -528 OUT
SYMBOL voltage -504 -512 R0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL res -104 -512 R270
SYMATTR InstName R1
SYMATTR Value 15m
SYMBOL ind 40 -512 R270
SYMATTR InstName L1
SYMATTR Value 10
SYMATTR SpiceLine Rser=.1
SYMBOL schottky 232 -512 R270
SYMATTR InstName D1
SYMATTR Value MBRS1100
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL cap 392 -512 R0
SYMATTR Value2 m=2
SYMATTR Value 2.2
SYMATTR InstName C1
SYMATTR SpiceLine Rser=25m
SYMBOL cap -456 80 R0
SYMATTR InstName C2
SYMATTR Value 1
SYMBOL cap -216 352 R0
SYMATTR Value 8.2n
SYMATTR InstName C3
SYMBOL res -120 320 R0
SYMATTR InstName R2
SYMATTR Value 90.9K
SYMBOL cap -24 336 R0
SYMATTR InstName C4
SYMATTR Value 5n
SYMBOL cap 104 272 R0
SYMATTR InstName C5
SYMATTR Value 4.7
SYMBOL LED 488 192 R0
SYMATTR Value2 n=17
SYMATTR InstName D2
SYMATTR Value LXHL-BW02
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL pmos 456 144 M180
SYMATTR InstName M1
SYMATTR Value Si7113DN
SYMBOL res 488 -144 R0
SYMATTR InstName R3
SYMATTR Value 750m
SYMBOL res 328 -272 R0
SYMATTR InstName R4
SYMATTR Value 21.5K
SYMBOL res 328 -384 R0
SYMATTR InstName R5
SYMATTR Value 1Meg
SYMBOL LT3952 -152 -80 R0
SYMATTR InstName U1
SYMBOL res -216 416 R0
SYMATTR InstName R6
SYMATTR Value 3.65K